2011/1/26 Chandra Sekhar Mallarapu <[email protected]>: > gsl_sf_exp(0.0000000000000000000000005731906218817495693050559208091994557794428814131237532386326994000326495726) > gives me the value as > 1.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, > instead of the actual value. What can I do to get a correct answer
That is the correct answer for an IEEE 754 double type. I think you're expecting to use a multiprecision library. Perhaps you should use GMP instead of the GSL. - Jordi G. H. _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
