From: Jeronimo P. <j_...@al...> - 2009-05-24 14:32:40
|
Hello, I was wondering if SBCL has support for setting the rounding mode for double-floats? The standard mentions five modes [0]: "to nearest, ties to even", "to nearest, ties away from zero", "toward 0", "toward +infinity" and "toward -infinity". I need to use more than one rounding mode in my programs, so I'd have to set the mode several times. So... Does SBCL support something like this? Thanks, J. [0] http://en.wikipedia.org/wiki/IEEE_754#Rounding_algorithms |