Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%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:
|