Difference: FloatingPointUnit (36 vs. 37)

Revision 372022-11-19 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 93 to 93
 
Changed:
<
<

Some Links

>
>

Links

 
Line: 213 to 213
 x.n ( r n -- ) print a fixed-point number r with n fractional digits (truncated) x#S ( n1 -- n2 ) Adds 32 comma-digits to number output x# ( n1 -- n2 ) Adds one comma-digit to number output
Deleted:
<
<
d>s s>d
 

Words from fixpt-mat-lib.fs

Line: 308 to 305
  pi 2e f* 1000e f/ \ 2*pi/1000 cr 1000 0 do
Changed:
<
<
dup i s>f f* drop \ dup i s>f f* fsin drop
>
>
\ dup i s>f f* drop dup i s>f f* fsin drop
 \ i . dup i s>f f* fsin fs. cr \ i . dup i s>f f* fsin hex. cr loop
Line: 387 to 384
  323
Changed:
<
<
With sqrt it takes about 323 ms, without about 6 ms. Therefore a sqrt word takes about 317 us, with FPU it takes less than 1 us. A simple multiplication about 6 us (FPU 300 ns).
>
>
With sqrt it takes about 323 ms (sin is not working for me), without about 6 ms. Therefore a sqrt word takes about 317 us, with FPU it takes less than 1 us. A simple multiplication about 6 us (FPU 300 ns).
  Only addition and subtraction are comparable:

 
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