Difference: FloatingPointUnit (23 vs. 24)

Revision 242022-11-11 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 125 to 125
 pi ( -- r ) r is pi, approx. 3.14159274101257324 e ( -- r ) r is e, approx. 2.7182818
Deleted:
<
<
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
Deleted:
<
<
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
Changed:
<
<

Words Using C Math Library

>
>

Words Using the C Math Library

 

Added:
>
>
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
Line: 208 to 209
 +inf -inf
Changed:
<
<
fixpt-mat-lib.fs
>
>
*) fixpt-mat-lib.fs
 

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback