Hi Juanjo,
Thanks for your detailed answer!
On Fri, Apr 19, 2013 at 11:47 PM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@gmail.com> wrote:
>
> On Fri, Apr 19, 2013 at 5:07 AM, Dietrich Bollmann <dietr...@formgames.org
> > wrote:
>
>> Yes, I am: ECL relies on the underlying operating system > The operating
>> system is Windows > And here is the problem :)
>>
>
> ECL needs to touch the FPU because Common Lisp mandates that arithmetic
> errors give rise to exceptions (which are then turned into Common Lisp
> conditions). However, ECL contains a flag to build without touching the FPU
> but rather checking the outcome of the computation and the FPU flags (See
> src/c/number.d and the headers it includes)
>
> Note that not using the FPU is fragile: to be conformant, in the compiled
> code we would have to add such checks _everywhere_, but we currently avoid
> that by setting the exception flags in the FPU.
>
Now I understand the motivation for manipulating the FPU flags better. I
will try to avoid using the build flag then.
For the time being I get along with wrapping the code into the Rhino
macros ON_FPU_BeforeSloppyCall()
and ON_FPU_AfterSloppyCall(). I add your comment to the code to explain
the motivation for using them.
By the way, let me use the opportunity to express my gratitude for your
diligent work on ECL: thank you very much for this very interesting and
useful project!
With my best wishes,
Dietrich
---
Dietrich Bollmann, Ph.D.
Computational Architecture
The University of Tokyo
Department of Architecture
4-6-1 Komaba, Meguro-ku, Tokyo 153-8505, JAPAN
http://dietrich.formgames.org
Best,
>
> Juanjo
>
> --
> Instituto de FĂsica Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list