number


Vocabulary
math

Class description
The class of numbers.

Definition
IN: math

UNION: number real complex ;


Methods
USING: fjsc kernel math ;

M: number (parse-factor-quotation) ast-number boa ;


USING: accessors calendar.private kernel math ;

M: number +second
[
over second>> + seconds/minutes [ >>second ] dip
+minute
] unless-zero ;


USING: math math.parser txon ;

M: number >txon number>string >txon ;


USING: math rosetta-code.arithmetic-evaluation ;

M: number eval-ast ;


USING: benchmark.dispatch3 kernel math ;

M: number g drop "number" ;


USING: math math.parser pdf.values ;

M: number pdf-value number>string ;


USING: make math present xml.syntax.private ;

M: number push-item present , ;


USING: kernel math ;

M: number recip 1 swap / ; inline


USING: kernel math xml.writer ;

M: number write-xml "Numbers are not allowed in XML" throw ;