|
|
|
|
|
by fiddlerwoaroof
2253 days ago
|
|
Yeah, in CL the 0.1 is read syntax for a float (IEEE-754ish on most modern implementations.) If you want exactly 0.1, you’d have to say 1/10. The printer is probably cheating and rounding to the output you expect (I think Python 3 may do this now?) Aside from financial applications, there’s very little reason to care about the trailing remainder. |
|
"Financial applications" happen to be pretty common reasons for number crunching :)