search for: neginf

Displaying 5 results from an estimated 5 matches for "neginf".

2012 Dec 12
1
[PATCH] psy.c tweak
Hi, I am submitting a small patch for Vorbis psy.c... * Make use of NEGINF constant where possible Does this look OK? - Michael Index: psy.c =================================================================== --- psy.c (revision 18737) +++ psy.c (working copy) @@ -29,7 +29,7 @@ #include "scales.h" #include "misc.h" -#define NEGINF -9999.f +#def...
2013 Aug 13
2
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...than calling pow, and still handles negative zero // and negative infinity correctly. // TODO: In fast-math mode, this could be just sqrt(x). // TODO: In finite-only mode, this could be just fabs(sqrt(x)). Value *Inf = ConstantFP::getInfinity(CI->getType()); Value *NegInf = ConstantFP::getInfinity(CI->getType(), true); Value *Sqrt = EmitUnaryFloatFnCall(Op1, "sqrt", B, Callee->getAttributes()); Value *FAbs = EmitUnaryFloatFnCall(Sqrt, "fabs", B, Ca...
2013 Aug 13
0
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...// and negative infinity correctly.**** > > // TODO: In fast-math mode, this could be just sqrt(x).**** > > // TODO: In finite-only mode, this could be just fabs(sqrt(x)).**** > > Value *Inf = ConstantFP::getInfinity(CI->getType());**** > > Value *NegInf = ConstantFP::getInfinity(CI->getType(), true);**** > > Value *Sqrt = EmitUnaryFloatFnCall(Op1, "sqrt", B,**** > > Callee->getAttributes());**** > > Value *FAbs = EmitUnaryFloatFnCall(Sqrt, "fabs", B,**...
2011 Nov 30
1
Error adding Bigmemory package
I am trying to add the bigmemory packages but I get the following error message: In file included from bigmemory.cpp:14:0: ../inst/include/bigmemory/isna.hpp: In function 'bool neginf(double)': ../inst/include/bigmemory/isna.hpp:22:57: error: 'isinf' was not declared in this scope make: *** [bigmemory.o] Error 1 ERROR: compilation failed for package 'bigmemory' * removing '/usr/local/lib/R/library/bigmemory' * restoring previous '/usr/local/lib/R/...
2004 Mar 22
1
apsort
...===== RCS file: /usr/local/cvsroot/vorbis/lib/psy.c,v retrieving revision 1.81 diff -u -r1.81 psy.c --- a/psy.c 21 Oct 2002 07:00:11 -0000 1.81 +++ b/psy.c 23 Mar 2004 03:16:32 -0000 @@ -29,6 +29,8 @@ #include "scales.h" #include "misc.h" +#include <stdint.h> + #define NEGINF -9999.f static double stereo_threshholds[]={0.0, .5, 1.0, 1.5, 2.5, 4.5, 8.5, 16.5, 9e10}; @@ -966,9 +968,17 @@ /* this is for per-channel noise normalization */ static int apsort(const void *a, const void *b){ - float f1=fabs(**(float**)a); - float f2=fabs(**(float**)b); +#if 0 + float f1=...