Handbook
Glossary
>bignum ( x -- n )
Factor handbook
»
The language
»
Numbers
»
Integers
Prev:
>integer ( x -- n )
Vocabulary
math
Inputs
x
a
real
Outputs
n
a
bignum
Word description
Converts a real number to a bignum, with a possible loss of precision.
Definition
IN:
math
GENERIC:
>bignum
( x -- n )
foldable
flushable
Methods
USING:
math
;
M:
bignum
>bignum
;
inline
USING:
math
math.private
;
M:
fixnum
>bignum
fixnum>bignum
;
inline
USING:
math
math.private
;
M:
float
>bignum
float>bignum
;
inline
USING:
math
;
M:
ratio
>bignum
>fraction
/i
>bignum
;