🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16173

MCW_EM How to turn back on floating point exceptions?

#16173
From: Jeff Kish
Date: Thu, 29 May 2003 14:54
10 lines
1245 bytes
Greetings.

I have seen posts saying you can use _control87(MCW_EM,MCW_EM); to
turn off floating point exceptions. What do you do to turn them back
on? I looked at float.h and it is not obvious to me.

Thanks
Jeff

Jeff Kish
Technical Details
Message-ID: <mm7cdvge1ie595jdoknie2jhlleb9tdps8@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,21e046e72e543e22,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-29 08:12:02 PST
From: Jeff Kish <jeff.kish@mro.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: MCW_EM How to turn back on floating point exceptions?
Date: Thu, 29 May 2003 10:54:21 -0400
Message-ID: <mm7cdvge1ie595jdoknie2jhlleb9tdps8@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 208.44.113.190
X-Trace: newsgroups.borland.com 1054220063 208.44.113.190 (29 May 2003 07:54:23 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail