1

i'm using gambit-c intepreter to evaluate scheme arithmetic operations, but it's results are bit off. for example i execute (+ 23 20.01) and it gives me 43.010000000000005, instead of 43.01.

This only occurs if i use numbers with 2 decimal points.

Is there a fix for this?

4

1 に答える 1