multimin question

Brian Gough bjg@network-theory.co.uk
Mon Apr 10 13:25:00 GMT 2000


Assuming this is on intel, adding a call gsl_ieee_env_setup() and
running the test program with GSL_IEEE_MODE=double-precision will
avoid the use of extended-precision registers. Declaring the relevant
variables "volatile" should have the same effect. This will let you
test your theory for any -O level.

If extended precision is the problem then the simplest workaround is
"volatile", with a comment explaining why it is needed.

Fabrice Rossi writes:

 > This is really beyond my understanding of compilers and of ieee
 > floating point representation... I guess it might be related to the
 > fact that registers store floating with a higher precision than
 > requested by ieee. Anyway, I don't know what to do and I really
 > need help on this point.
 >  Fabrice Rossi



More information about the Gsl-discuss mailing list