INF: Because of Precision, tan(pi/2) Doesn't Cause an Error

ID Number: Q11158

3.00 4.00 5.00 5.10 6.00 6.00a 6.00ax | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

In Microsoft C versions 5.0, 5.1, 6.0, 6.0a, and 6.0ax, if you try to

calculate tan(pi/2), which in fact is not defined, tan() will return a

value. This value is not large. This is a precision limitation.

Because you are constrained to work in single or double precision

accuracy, it isn't possible to specify a value close enough to the

true value of pi/2 so that tan(X) overflows.

Additional reference words: 5.00 5.10 6.00 6.00a 6.00ax