72
72
# this is needed very early because it is used by Range and colon
73
floor(x::Float64) = ccall((:floor,:libopenlibm), Float64, (Float64,), x)
73
floor(x::Float64) = ccall((:floor, Base.libm_name), Float64, (Float64,), x)
75
75
iceil(x::FloatingPoint) = itrunc(ceil(x)) # TODO: fast primitive for iceil
76
76
ifloor(x::FloatingPoint) = itrunc(floor(x)) # TOOD: fast primitive for ifloor