[Openmcl-devel] roundings...

Joakim Sandgren joakim at joakimsandgren.com
Fri Sep 7 01:30:05 PDT 2012


how can I do a more 'c-like' rounding in lisp ?
that is in the .5 cases not always go to the even number.
i would like to have it to round up
and perhaps have better float resolution ? in lisp: (round 5.499999) => 5 (round 5.4999999) => 6

are there some way around this?


More information about the Openmcl-devel mailing list