freenode/#lisp - IRC Chatlog
Search
21:03:48
mfiano
alternatively, something like: (defmacro foo (sym &body body) `(,sym ,@(mapcar (lambda (x) `',x) body)))
21:04:29
Nilby
phoe: consider maybe an implementation that natively supported different float formats like maxima's bigfloat
21:05:51
_death
phoe: you can encode all pairs, sans a few large easy-to-demarcate portions of equivalence classes, of floats by bruteforce and try them
21:10:11
mfiano
Always found CLISP's arbitrary precision floats strange, in regard to the constant value pi. IIRC, the manual even says that it is no longer a constant value, which seems wrong to me.
21:12:54
Nilby
_death: Yes, but I'm not that pleased with clisp anymore, and I haven't used sb-mpfr because I worry about implementation in C and possible overhead.
21:17:06
_death
I never found actual use for them.. for floating point, I'm fine with single and double precision.. and sometimes I need to move to a fixed point or maintain my own scaling or use rationals (slow..) or logarithms solve the issue.. but not arbitrary precision floats
21:21:50
Nilby
I love how close to mathematically correct Lisp math is relative to other languages, but it starts getting corrupt with floating point error. I've be gravely injured before (in virtual realites) by floating point error.
21:24:33
_death
Nilby: I love it too, but computation is its own field, and in this field modular arithmetic and floating point have advantages as well