Library: | multi |
See also: | rint |
Quantlet: | floatinf | |
Description: | provides information about real numbers within the interval [.5,0) in the form of x=a*10^b, b is bounded by -20 |
Usage: | {a,b} = floatinf(x) | |
Input: | ||
x | (1x1) real value | |
Output: | ||
a | (1x1) real value, element of the interval [+inf,.5) | |
b | (1x1) integer, power of 10 |
library("multi") {a,b}=floatinf(.00123) a b
Contents of a [1,] 1.23 Contents of b [1,] -3
library("multi") {a,b}=floatinf(1.23*10^(-23)) a b
Contents of a [1,] 0.0123 Contents of b [1,] -21