|
META TOPICPARENT |
name="WebHome" |
%DASHBOARD{ section="banner" |
| pi ( -- r ) r is pi, approx. 3.14159274101257324
e ( -- r ) r is e, approx. 2.7182818 |
|
< < | fnumber (a # -- r u ) convert the specified string by a and # to float r, on success u is 1, otherwise 0
>float (a # -- r ? ) convert the specified string by a and # to float r, on success flag is true (more robust)
|
| f. ( r -- ) display, with a trailing space, the floating-point number r in fixed-point notation |
|
< < | fe. ( r -- ) display, with a trailing space, the floating-point number r in engineering notation
fs. ( r -- ) display, with a trailing space, the floating-point number r in scientific notation
fu. ( r -- ) display, with a trailing space, the floating-point number r in unit (metric) prefix notation |
| precision ( -- u ) return the number of significant digits currently used by F., FE., or FS. as u
set-precision ( u -- ) set the number of significant digits currently used by F., FE., or FS. to u
|
|
< < | Words Using C Math Library |
> > | Words Using the C Math Library |
|
|
|
> > | fnumber (a # -- r u ) convert the specified string by a and # to float r, on success u is 1, otherwise 0
>float (a # -- r ? ) convert the specified string by a and # to float r, on success flag is true (more robust)
fe. ( r -- ) display, with a trailing space, the floating-point number r in engineering notation
fs. ( r -- ) display, with a trailing space, the floating-point number r in scientific notation
fu. ( r -- ) display, with a trailing space, the floating-point number r in (metric) unit prefix notation |
| fsin ( r1 -- r2 ) r2 is the sine of the radian angle r1
fcos ( r1 -- r2 ) r2 is the cosine of the radian angle r1
ftan ( r1 -- r2 ) r2 is the principal radian angle whose tangent is r1 |
| +inf
-inf |
|
< < | fixpt-mat-lib.fs |
> > | *) fixpt-mat-lib.fs |
|
|