fix Floating point frexp

Scilab manual >> Elementary Functions > Floating point > floor

floor

rounding down

Calling Sequence

[y]=floor(x)

Arguments

x

a real matrix

y

integer matrix

Description

floor(x) returns an integer matrix made of nearest rounded down integers.

Examples

floor([1.9 -2.5])-[1,-3]
floor(-%inf)
x=rand()*10^20;floor(x)-x

See Also

fix Floating point frexp