Search
9:49:58
nokdoottt
Aghhhh you are right
9:50:10
beach
Then you are using rational arithmetic.
9:50:18
nokdoottt
I just checked it now :( Sorry about that
9:51:23
beach
earl-ducaine: You need to inform ASDF of the dependencies, of course.
9:51:30
nokdoottt
And thanks I will check that rational arithmetic.
9:52:12
beach
nokdoottt: If all your constants are rational and your operations preserve this fact, then the result is a rational as well.
9:52:33
beach
nokdoottt: The moment you stick in a float there, like 1.0, everything gets converted to float.
9:53:02
pjb
(rationalize PI) #| --> 245850922/78256779 |#
9:53:29
pjb
or 22/7 if you're lazy. (float 22/7) #| --> 3.142857 |#
9:58:27
nokdoottt
Ohh I see :> Thanks@
10:53:41
no-defun-allowed
There was a really nice three digit fraction for pi I had at one point.
10:54:21
no-defun-allowed
355/113 is accurate to 6 places.
11:03:01
no-defun-allowed
Single floats are supposed to be good for at least six digits with small numbers, so I'm happy with that.
14:22:14
Posterdati
still no fix for iolib under openbsd...
15:55:40
Posterdati
iolib is not usable on bsd systems, due to wrong error constants definitions in sockets/grovel.lisp and syscalls/ffi-types-unix.lisp
16:25:29
White_Flame
no-defun-allowed: specifically, 32-bit ieee floats have 7.22 decimal digits of precision