Ultimate calculator by daniel corbier gives strange answers when I enter a maths problem
Closed this issue · 2 comments
whocrazy commented
Describe the bug
When I run ultimate calculator dos version by Daniel Corbier, and enter a simple maths problem, for example 1+2, I get a whole string of numbers that don't make any sense, instead of the real answer, which is obviously 2.
Steps to reproduce the behaviour
- download ultimate calculator for dos from www.ucalc.com
- start up dosbox-x and run the program
- enter any math problem, such as 1+2, or 36*64
- Press enter and watch what happens.
Expected behavior
the proper answer should be given instead of a slew of nonsensical numbers
What operating system(s) this bug have occurred on?
windows 10 22H2
What version(s) of DOSBox-X have this bug?
2024-10-01
Used configuration
No response
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
- I have searched and didn't find any similar bug report.
Code of Conduct & Contributing Guidelines
- I agree to follow the code of conduct and the contributing guidelines.
maron2000 commented
It is due to the precision of FPU emulation.
You can find out details in the Wiki
Your choices are:
- Disable FPU
- Change CPU core to Dynamic (Seems FPU is enabled regardless of the FPU setting)
- Use MinGW builds (and enable FPU)
The following screenshot is Visual Studio build with Dynamic core.
whocrazy commented
thank you so much for this.