Post Reply 
Free42 with IEEE 754-2008 decimal floating-point -- interested in a sneak preview?
03-16-2014, 02:38 PM
Post: #76
RE:Free42 with IEEE 754-2008 decimal floating-point -- interested in a sneak preview?
Thanks, see my update in the previous post: it's 10^x that is the culprit.
As for SIN(45°) ^ = COS(45°), you left out one line of code wrt mine:

if x = 45 then x := SQRT(0.5);
else do


if x > 45 -- SIN(90°-x) = COS(x) and vice versa
then do
x := 90 - x;
if fSIN then fSIN := FALSE;
else fSIN := TRUE;
end;

if fSIN then x := SINDEG(x);
else x := COSDEG(x);

end;

That's all. (only looked at this part, not the GRADS, not the addition of complex numbers in polar mode etc..)
Cheers, Werner
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE:Free42 with IEEE 754-2008 decimal floating-point -- interested in a sneak preview? - Werner - 03-16-2014 02:38 PM



User(s) browsing this thread: 1 Guest(s)