Version 3 of floor

Updated 2012-05-25 05:26:26 by dkf

expr function that returns the greatest double with zero fractional part that is not greater than the argument.

 % expr floor(1.0)
 1.0
 % expr floor(1.5)
 1.0
 % expr floor(-0.5)
 -1.0