TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Noon
from: Thomas Seeling
date: 1997-01-22 13:47:18
subject: Floating point feature w

Hallo, David!

*** Am 20. Januar 1997 um 18:53 schrieb David Noon an Tom Almy:

 TA>> trig functions break with large argument values. Try sin(1e30) --
 TA>> the result isn't between -1 and 1!

 DN> The issue arises over the uncertainty in the argument exceeding the
 DN> full cycle from 0 to 2*pi, which means that any value in the range -1
 DN> to 1 could be returned as being valid.

If you have a look at the graph of f(x)=sin(x) you will notice that it
returns a value between [-1,+1] for each argument, no matter how large it
is.

This is either a hardware bug of the FPU or an implementation bug.


Tschau...Thomas

--- E3-32/1.11-32/2.51+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 54/99 270/101 620/243 625/110 160 711/401 413 430 808 934
SEEN-BY: 712/311 407 505 506 517 623 624 704 713/317 800/1
@PATH: 244/1130 1634 24/888 396/1 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.