chickadee » math » fpulp

fpulp xprocedure
x
flonum

Returns x's ulp or unit in last place: the magnitude of the least significant bit in x.

Examples:

> (fpulp 1.0)
2.220446049250313e-16
> (fpulp 1e-100)
1.2689709186578246e-116
> (fpulp 1e+200)
1.6996415770136547e+184