[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] [bug #26809] Some common math constants missinginmath
RE: [avr-libc-dev] [bug #26809] Some common math constants missinginmath.h
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. ;-) )