avr-libc-dev
[Top][All Lists]
Advanced

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

RE: [avr-libc-dev] [bug #26809] Some common math constants missinginmath


From: Stu Bell
Subject: RE: [avr-libc-dev] [bug #26809] Some common math constants missinginmath.h
Date: Mon, 15 Jun 2009 10:57:05 -0600

> > #define     M_SQRT1_2       0.70710678118654752440  /* 1/sqrt(2) */
> 
> While I have no problem with the constant, shouldn't the 
> symbol name be M_1_SQRT2?  That would follow the naming set 
> up by M_1_PI and M_2_PI and . . .

Please ignore my brain fart.  Obviously 1/sqrt(2) = sqrt(1/2).  My bad.

(In my defense, it was a *long* weekend for me.  ;-) )

Stu




reply via email to

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