Post Reply 
Maxima
10-20-2021, 11:12 PM
Post: #3
RE: Maxima
There is also a decimal float package, https://people.eecs.berkeley.edu/~fatema...decfp.lisp

(%i1) load(decfp);
"C:/Program Files/Maxima/share/maxima/5.38.0/share/decfp.lisp"

(%i2) 0.9 - 0.3 * 3              → 1.110223024625157 * 10^16
(%i3) 0.9b0 - 0.3b0 * 3       → -1.387778780781446b-17
(%i4) 0.9L0 - 0.3L0 * 3       → 0.L0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Maxima - Gil - 10-20-2021, 09:52 PM
RE: Maxima - Albert Chan - 10-20-2021, 10:35 PM
RE: Maxima - Albert Chan - 10-20-2021 11:12 PM
RE: Maxima - Gil - 10-20-2021, 11:27 PM
RE: Maxima - John Keith - 10-21-2021, 11:48 AM
RE: Maxima - Ren - 10-21-2021, 02:07 PM



User(s) browsing this thread: 1 Guest(s)