qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Math-Error Constants
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Constant:  Math errors
 
  Include:   <math.h>
 
  Context:   Global variable containing an integer value reflecting
             the type of math error encountered.
 
  Synopsis:  The math error constants can be generated by the math
             routines of the C run-time library.
 
     These errors, described as follows, correspond to the exception
     types defined in MATH.H and are returned by the matherr function
     when a math error occurs.
 
     Constant      Meaning
 
     DOMAIN        An argument to the function is outside the domain of
                   the function.
 
     OVERFLOW      The result is too large to be represented in the
                   function's return type.
 
     PLOSS         A partial loss of significance occurred.
 
     SING          Argument singularity: an argument to the function
                   has an illegal value. (For example, the value 0 is
                   passed to a function that requires a nonzero value.)
 
     TLOSS         A total loss of significance occurred.
 
     UNDERFLOW     The result is too small to be represented. (This
                   condition is not currently supported.)