[Libclc-dev] [PATCH 2/2] Introduce M_LOG2E_F and M_LOG2E

Tom Stellard tom at stellard.net
Tue Apr 8 07:26:52 PDT 2014


On Tue, Apr 08, 2014 at 11:36:27AM +0100, Jeroen Ketema wrote:
> 
> Gentle nudge.
> 

I pushed this patch last week with the tab/spaces patch.

-Tom

> Jeroen
> 
> On 25 Mar 2014, at 20:32, Jeroen Ketema <j.ketema at imperial.ac.uk> wrote:
> 
> > ---
> > generic/include/clc/float/definitions.h | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
> > index c28a192..d6fee84 100644
> > --- a/generic/include/clc/float/definitions.h
> > +++ b/generic/include/clc/float/definitions.h
> > @@ -9,7 +9,8 @@
> > #define FLT_MIN         0x1.0p-126f
> > #define FLT_EPSILON     0x1.0p-23f
> > 
> > -#define M_PI_F 0x1.921fb6p+1
> > +#define M_LOG2E_F       0x1.715476p+0
> > +#define M_PI_F          0x1.921fb6p+1
> > 
> > #ifdef cl_khr_fp64
> > 
> > @@ -23,4 +24,6 @@
> > #define DBL_MIN         0x1.0p-1022
> > #define DBL_EPSILON     0x1.0p-52
> > 
> > +#define M_LOG2E         0x1.71547652b82fep+0
> > +
> > #endif
> > -- 
> > 1.8.5.2 (Apple Git-48)
> > 
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev




More information about the Libclc-dev mailing list