www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/27/10:30:43

From: enlar AT hidespam DOT iname DOT com (Eneko Lacunza)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help - Floating Point Exception
Date: Sat, 26 Sep 1998 22:10:13 +0200
Organization: Telefonica Transmision de Datos
Lines: 28
Message-ID: <GoldED.199809262212077400.enlar@hidespam.iname.com>
References: <GoldED DOT 199809242144148700 DOT enlar AT hidespam DOT iname DOT com>
<6uj1le$4dg$7 AT bagan DOT srce DOT hr>
NNTP-Posting-Host: info230.jet.es
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Path: news.vitts.com!news-pen-2.sprintlink.net!news-east.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!newsfeed.berkeley.edu!su-news-hub1.bbnplanet.com!news.bbnplanet.com!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ibernet.es!news.mad.ibernet.es!not-for-mail
Xref: news.vitts.com comp.os.msdos.djgpp:75218

Hello S.!

In Sábado 26 Septiembre 1998 at 15:36, S. Mikecin wrote to All:

 SM> :     Could somebody tell me what does that exception mean, and how
 SM> could I
 SM> : fix it (if this info is enough). I'm using GCC 2.7.2...
 SM> If you're sure you have correct code, than this my help:
 SM> use:
 SM> #include <float.h>
 SM> and call _fpcontrol(MSW_EM,MSW_EM) at the beggining of main().
 SM> This will disable FPEs.

    It seemed that as my program calculated atan2(0,0), the subsequent floor
crashed... I still don't know why it crashed under command.com and didn't
under rhide.

    Thanks for your effort, maybe it could be useful in a near future...

Regards,

Eneko Lacunza.
enlar/Genesis

Fidonet 2:344/19.11  Fidonet forever!
e-mail  strip hidespam. from header's address
http    web.jet.es/enlar

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019