bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl_math.h


From: MARRA GIANCARLO
Subject: [Bug-gsl] gsl_math.h
Date: Wed, 19 Oct 2005 16:15:13 +0200

Dears,
I found the the following definition in gsl_math.h (gsl 1.6)  :
 
#define M_PI_4     0.78539816339744830966156608458      /* pi/4 */
=======================================^^=========
 
I think it should be changed into :
 
#define M_PI_4     0.78539816339744830961566084582      /* pi/4 */

 
You can check it by dividing M_PI_2 by 2 
#define M_PI_2     1.57079632679489661923132169164      /* pi/2 */

and/or looking at /usr/include/math.h, where it is :
 
#define M_PI_4     0.785398163397448309615660845819875721

Thanks.
 
Giancarlo Marra
--------------------------------------------------
Ing. Giancarlo Marra
Banca d'Italia - Servizio Studi - Divisione SAEE
Via Nazionale 91, 00184 ROMA
Tel. (06) 4792-4199
e-mail : address@hidden
< mailto:address@hidden
<mailto:address@hidden> >



 


  _____  

** Le e-mail provenienti dalla Banca d'Italia sono trasmesse in buona
fede e
non comportano alcun vincolo ne' creano obblighi per la Banca stessa,
salvo che cio' non sia espressamente previsto da un accordo scritto.
Questa e-mail e' confidenziale. Qualora l'avesse ricevuta per errore, La
preghiamo di comunicarne via e-mail la ricezione al mittente e di
distruggerne il contenuto. La informiamo inoltre che l'utilizzo non
autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.
Grazie per la collaborazione. 
-- E-mails from the Bank of Italy are sent in good faith but they are
neither
binding on the Bank nor to be understood as creating any obligation on
its
part except where provided for in a written agreement. This e-mail is
confidential. If you have received it by mistake, please inform the
sender
by reply e-mail and delete it from your system. Please also note that
the
unauthorized disclosure or use of the message or any attachments could
be
an offence. Thank you for your cooperation. ** 



reply via email to

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