lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] feholdexcept() [Was: Better support for non-x87 platforms]


From: Vadim Zeitlin
Subject: Re: [lmi] feholdexcept() [Was: Better support for non-x87 platforms]
Date: Thu, 5 Jan 2017 14:06:18 +0100

On Thu, 5 Jan 2017 12:01:31 +0000 Greg Chicares <address@hidden> wrote:

GC> I have a question on code unchanged since
GC>   Initial checkin
GC>   commit 73f326c348d063ae13dc93eb7ee77aee431857ea
GC> which I believe I've answered correctly below.

 Yes, I think so: I did wonder whether we had to call fesetenv() too, but
realized that the purpose of this call was not to save the environment in
order to preserve it later, but just to disable all the FP exceptions.

GC> But in the lmi code above, its only purpose is to mask exceptions;
GC> apparently it's the only C99 function that can do that reliably.

 Yes, this was my conclusion as well.
VZ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]