Difference: FloatingPointUnit (42 vs. 43)

Revision 432022-12-03 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 130 to 130
 fnegate ( r1 -- r2 ) r2 is the negation of r1 fround ( r1 -- r2 ) round r1 to an integral value using the "round to nearest" rule, giving r2 floor ( r1 -- r2 ) round r1 to an integral value using the "round toward negative infinity" rule, giving r2
Added:
>
>
ftrunc ( r1 -- r2 ) round r1 to an integral value using the "round towards zero" rule, giving r2.
  10**>f ( n -- r ) raise 10 to the power n, giving product r flog>n ( r -- n ) n is the base-ten logarithm of r
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback