Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
library("multi")
{a,b}=floatinf(.00123)
a
b

Result:
Contents of a
[1,]     1.23
Contents of b
[1,]       -3
Example:
library("multi")
{a,b}=floatinf(1.23*10^(-23))
a
b

Result:
Contents of a
[1,]     0.0123
Contents of b
[1,]        -21



Author: A. Benkwitz, 19980125
(C) MD*TECH Method and Data Technologies, 05.02.2006