Parents: | math.parser |
Class | Superclass | Slots |
float-parse | tuple | radix point exponent magnitude |
number-parse | tuple | str length radix magnitude |
Word | Stack effect |
positive>dec | ( num -- str ) |
Word | Stack effect |
(add-digit) | ( number-parse n digit -- number-parse n' ) |
(bin-float>base) | ( value-quot n -- str ) |
(format) | ( neg? f e quot -- str ) |
(mantissa-expt) | ( bits -- mantissa expt ) |
(next-digit) | ( i number-parse n digit-quot end-quot -- n/f ) |
(pow) | ( base x -- base^x ) |
->denominator | ( i number-parse n -- n/f ) |
->exponent | ( float-parse i number-parse n -- float-parse' n/f ) |
->mantissa | ( i number-parse n -- n/f ) |
->numerator | ( i number-parse n -- n/f ) |
->radix | ( i number-parse n quot radix -- i number-parse n quot ) |
->required-mantissa | ( i number-parse n -- n/f ) |
100/mod | ( n -- t ρ≠0? ) |
1000/ | ( n -- m ) |
<float-parse> | ( i number-parse n -- float-parse i number-parse n ) |
<number-parse> | ( str radix -- i number-parse n ) |
>float< | ( n -- s F E ) |
?add-ratio | ( m n/f -- m+n/f ) |
?default-exponent | ( float-parse n/f -- float-parse' n/f' ) |
?exponent | ( accum e -- accum ) |
?inc-magnitude | ( number-parse n -- number-parse' ) |
?make-float | ( float-parse n/f -- float/f ) |
?make-ratio | ( num denom/f -- ratio/f ) |
?minus | ( accum ? -- accum ) |
?neg | ( n/f -- -n/f ) |
?pos | ( n/f -- +n/f ) |
?store-exponent | ( float-parse n expt/f -- float-parse' n/f ) |
@abort | ( i number-parse n x -- f ) |
@denom-digit | ( i number-parse n char -- n/f ) |
@denom-digit-or-punc | ( i number-parse n char -- n/f ) |
@exponent-digit | ( float-parse i number-parse n char -- float-parse n/f ) |
@exponent-digit-or-punc | ( float-parse i number-parse n char -- float-parse n/f ) |
@exponent-first-char | ( float-parse i number-parse n char -- float-parse n/f ) |
@first-char | ( i number-parse n char -- n/f ) |
@first-char-no-radix | ( i number-parse n char -- n/f ) |
@mantissa-digit | ( float-parse i number-parse n char -- float-parse n/f ) |
@mantissa-digit-or-punc | ( float-parse i number-parse n char -- float-parse n/f ) |
@neg-digit | ( i number-parse n char -- n/f ) |
@neg-digit-or-punc | ( i number-parse n char -- n/f ) |
@neg-first-digit | ( i number-parse n char -- n/f ) |
@neg-first-digit-no-radix | ( i number-parse n char -- n/f ) |
@num-digit | ( i number-parse n char -- n/f ) |
@num-digit-or-punc | ( i number-parse n char -- n/f ) |
@pos-digit | ( i number-parse n char -- n/f ) |
@pos-digit-or-punc | ( i number-parse n char -- n/f ) |
@pos-first-digit | ( i number-parse n char -- n/f ) |
@pos-first-digit-no-radix | ( i number-parse n char -- n/f ) |
@split | ( i number-parse n -- n i number-parse' n' ) |
@split-exponent | ( i number-parse n -- n i number-parse' n' ) |
ONES | ( -- value ) |
TENS | ( -- value ) |
add-digit | ( number-parse n digit -- number-parse n' ) |
add-mantissa | ( float-parse i number-parse n digit -- float-parse' i number-parse n' ) |
base2-digits | ( digits radix -- digits' ) |
base2-magnitude | ( float-parse -- point ) |
base2-point | ( float-parse -- point ) |
bignum-?neg | ( n -- -n ) |
bignum>dec | ( num accum -- num' accum ) |
bin-float-expt | ( exponent -- str ) |
bin-float-value | ( str size -- str' ) |
bin-float>base | ( n base -- str ) |
count-digits | ( digits n -- digits' ) |
decimal-format | ( neg? f-str f-len e -- sbuf ) |
digit-in-radix | ( number-parse n char -- number-parse n digit ? ) |
dragonbox | ( s F E -- s f e ) |
exponent-char? | ( number-parse n char -- number-parse n char ? ) |
exponential-format | ( neg? f-str f-len e -- sbuf ) |
fixnum>dec | ( num accum -- num' accum ) |
float>base | ( n radix -- str ) |
float>bin-value | ( mantissa -- str ) |
float>dec | ( n -- str ) |
float>hex-value | ( mantissa -- str ) |
float>oct-value | ( mantissa -- str ) |
fp-?neg | ( n -- -n ) |
general-format | ( neg? f e -- str ) |
if-skip | ( char true false -- ) |
inc-magnitude | ( number-parse -- number-parse' ) |
inc-point-?dec-magnitude | ( float-parse n -- float-parse' ) |
k | ( E -- k ) |
k0 | ( E -- k0 ) |
lookup-table | ( -- value ) |
make-float-bin-exponent | ( float-parse n/f -- float/f ) |
make-float-dec-exponent | ( float-parse n/f -- float/f ) |
mantissa-expt | ( bits -- mantissa expt ) |
mantissa-expt-normalize | ( mantissa expt -- mantissa' expt' ) |
mantissa-expt-normalize* | ( F E -- F' E' ) |
max-magnitude-10 | ( -- value ) |
max-magnitude-2 | ( -- value ) |
min-magnitude-10 | ( -- value ) |
min-magnitude-2 | ( -- value ) |
next-digit | ( i number-parse n quot -- n/f ) |
normal-interval | ( F E -- f e ) |
one-digit | ( num accum -- num' accum ) |
or-exponent | ( i number-parse n char quot -- n/f ) |
or-mantissa->exponent | ( float-parse i number-parse n char quot -- float-parse n/f ) |
positive>base | ( num radix -- str ) |
pow-until | ( base x -- base^x ) |
require-next-digit | ( i number-parse n quot -- n/f ) |
s/r | ( zi -- s r ) |
shorter-interval | ( F E -- f e ) |
shorter-interval? | ( F E -- ? ) |
sign-negative? | ( bits -- ? ) |
store-exponent | ( float-parse n expt -- float-parse' n ) |
strip-zeroes | ( s -- s' d ) |
two-digit | ( num accum -- num' accum ) |
wi | ( F φ β n parity? -- wi wi? ) |
with-radix-char | ( i number-parse n radix-quot nonradix-quot -- n/f ) |
w̃i | ( φ β w∈I? E n1 q1 n2 q2 n3 -- w̃i ) |
xi | ( F φ β -- xi-odd? xi? ) |
x̃i | ( φ β x∈I? E -- x̃i ) |
yi | ( F φ β -- yi-odd? yi? ) |
yru | ( φ β -- yru ) |
zi | ( F φ β -- zi zi? ) |
z̃i | ( φ β z∈I? E -- z̃i ) |
β | ( E k -- β ) |
δi | ( φ β -- δi ) |
φ | ( k -- φ ) |
⌊nlog10_2-log10_4/3⌋ | ( n -- m ) |
⌊nlog10_2⌋ | ( n -- m ) |
⌊nlog2_10⌋ | ( n -- m ) |
Word | Stack effect |
float-parse? | ( object -- ? ) |
number-parse? | ( object -- ? ) |