BigDecimal?
-
Does Qt have equivalents to the Java BigDecimal or BigInteger classes?
I need to do some arbitrary precision arithmetic.
Many thanks, ¬Jonathan
-
I think a long double (80 bits) is rather OK for these purposes. If you still think you need them, you might be able to write your own or use someone else's implementation from somewhere.
-
openSSL uses an implementation for them f.e. I used them in my Code too.
-
For those who need BigInteger for Qt/QML, I have packed a library which is installable by qpm: