________________________________________ From: Jordi Gutiérrez Hermoso [[email protected]] Sent: Wednesday, January 26, 2011 5:27 PM To: Chandra Sekhar Mallarapu Cc: [email protected] Subject: Re: [Help-gsl] strange behaviour of addition of floats and exponential function
On 26 January 2011 09:18, Chandra Sekhar Mallarapu <[email protected]> wrote: > I am trying to do C=A+B, where > A=0.0000000000000000021675312011946934078589202290913712085038187871567725434340800916288571897894144058 What data types are A, B, and C? I don't think there are any float types in any common architecture that are broad enough to be accurate to that many digits. A, B, C are double data type in C. Even if its not accurate till the last digit, shouldn't it be accurate to some digits atleast? --chandra _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
