speedcrunch / SpeedCrunch

A fast, high-precision and powerful cross-platform desktop calculator.
http://speedcrunch.org
265 stars 38 forks source link

Lack of precision for exponents #92

Closed heldercorreia closed 8 years ago

heldercorreia commented 8 years ago

Originally reported on Google Code with ID 30

What steps will reproduce the problem?
Type in 10^n ; n is >= to 27 

What is the expected output? 
If n=27 : 10e26
If n=99 : 10e98

What do you see instead?
If n=27 : 9.99999999999999999997e26
If n=99 : 1.54822428861097916382e91

What version of the product are you using? On what operating system?
ver 0.7 beta 2 on Windows and Linux, same result.

Reported by antdes45ym on 2007-04-21 23:18:18

heldercorreia commented 8 years ago
Thank you for the report. This accuracy problem is is already addressed in the
development version, will be available for version 0.8

Reported by ariya.hidayat on 2007-04-22 22:36:29

heldercorreia commented 8 years ago
OK, this is fixed in trunk.

Reported by ariya.hidayat on 2007-06-12 08:29:11