BFTORAT:FALSE
RATEPSILON will be used to control the conversion (this results in relatively small rational numbers). If
BFTORAT:TRUE
, the rational number generated will accurately represent the bfloat.
FLOATDEFUNK('F,['X],EXP);
will define the function F(X) for you. (Do PRINTFILE(MCOMPI,DOC,MAXDOC); for more details.)
(C3) ?round(-2.8); (D3) - 3
(C4) ?truncate(-2.8); (D4) - 2 (C5) ?truncate(2.4); (D5) 2 (C6) ?truncate(2.8); (D6) 2