On Mon, 5 Jul 2004, Noah Misch wrote:

> On Fri, Jul 02, 2004 at 07:37:25AM -0700, Paul Eggert wrote:
>
> > On the compilers in question, what value does 1/0 return?  Perhaps we
> > can make use of that somehow.
>
> On the Compaq CC, the program ``int main() { int c = 1/0; printf("%d\n", c); }''
> prints ``0''.

"man cc" shows the "-ieee" option, which appears to produce the result you
want.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Autoconf mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to