[Python-Dev] 2.2.1c1 platform reports. (original) (raw)

Jeremy Hylton jeremy@zope.com
Fri, 22 Mar 2002 18:58:57 -0500


"MvL" == Martin v Loewis <martin@v.loewis.de> writes:

MvL> On a domain error, the function returns an MvL> implementation-defined value; if the integer expression MvL> math_errhandling & MATH_ERRNO is nonzero, the integer MvL> expression errno acquires the value EDOM; if the integer MvL> expression math_errhandling & MATH_ERREXCEPT is nonzero, MvL> the ``invalid'' floating-point exception is raised.

MvL> but it comes from a draft only (99-04). If this is what C99 MvL> says, you actually can tell, in C, whether checking errno will MvL> help indicating the error.

The final text also says this. (Setion 7.12.1.)

Jeremy