[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## bug#12381: Assume C89 or later for math functions.

**From**: |
Paul Eggert |

**Subject**: |
bug#12381: Assume C89 or later for math functions. |

**Date**: |
Sat, 08 Sep 2012 12:05:32 -0700 |

**User-agent**: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 |

On 09/08/2012 10:20 AM, Ken Brown wrote:
>* Is there a C program I could run that would answer your question?*
Sure, run this:
#include <math.h>
int main (void)
{
return pow (0, 0) != 1;
}
If the matherr problem is present, the program will
print something on stderr, coming from the library.
If not, the program will exit silently. On Ubuntu
it exits with status 0, which is what POSIX requires,
though pow's exact return value doesn't really matter
here -- the point is that pow should not write to stderr.

**bug#12381: Assume C89 or later for math functions.**, *Paul Eggert*, `2012/09/07`
**bug#12381: Assume C89 or later for math functions.**, *Eli Zaretskii*, `2012/09/08`
**bug#12381: Assume C89 or later for math functions.**, *Paul Eggert*, `2012/09/08`
**bug#12381: Assume C89 or later for math functions.**, *Eli Zaretskii*, `2012/09/08`
**bug#12381: Assume C89 or later for math functions.**, *Ken Brown*, `2012/09/08`
**bug#12381: Assume C89 or later for math functions.**,
*Paul Eggert* **<=**
**bug#12381: Assume C89 or later for math functions.**, *Ken Brown*, `2012/09/08`
**bug#12381: Assume C89 or later for math functions.**, *Paul Eggert*, `2012/09/09`
**bug#12381: Assume C89 or later for math functions.**, *Paul Eggert*, `2012/09/10`
**bug#12381: Assume C89 or later for math functions.**, *Paul Eggert*, `2012/09/08`