help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] IEEE environment variable under Windows


From: Xuebin Wu
Subject: Re: [Help-gsl] IEEE environment variable under Windows
Date: Wed, 7 Jul 2010 03:48:35 -0400

I am not sure if this mechanism works in Windows, but obviously it does not
work in your way.

In Linux, you need to set the evironment variable in your shell. In Windows,
you can set evrionmental variable through the property of "My Computer", but
i am not sure if gsl can read it.

On Mon, Jul 5, 2010 at 12:13 AM, Chao Ding <address@hidden> wrote:

> Hi there,
>
> I have two related questions here.
>
> I am using GSL in Visual C++ 2008 Express under Windows and receive
> underflow error handler message. From google, I think the right way to
> get rid of it is to set GSL_IEEE_MODE = "mask-underflow", am I right?
>
> Assume I am right about the way to get rid of the underflow message,
> the second problem is that, although I followed the instruction in
> Chapter 41 in the manual to set the IEEE environment variable
> GSL_IEEE_MODE, but I did not figure out the correct format. I guess it
> is a stupid format question but I do not know how. Here is my code:
> -------------------------------------------------------------
> #include <gsl/gsl_ieee_utils.h>
>
> void main{
>   GSL_IEEE_MODE = "mask-underflow, double-precision, mask-denormalized";
>   gsl_ieee_env_setup();
>   ....
> }
> -------------------------------------------------------------
> which returns the error message that " 'GSL_IEEE_MODE' : undeclared
> identifier" at Building Solution.
>
> Does anyone how to solve the problem? Thanks a lot!
>
> Chao
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>


reply via email to

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