Displaying 20 results from an estimated 68 matches for "isinf".
Did you mean:
sinf
2004 Oct 19
0
[LLVMdev] Visual C Patches for IsNAN.cpp and IsInf.cpp
...9,6 +19,9 @@
> #elif HAVE_STD_ISNAN_IN_CMATH
> # include <cmath>
> using std::isnan;
> +#elif defined(_MSC_VER)
> +#include <float.h>
> +#define isnan _isnan
> #else
> # error "Don't know how to get isnan()"
> #endif
> Index: lib/Support/IsInf.cpp
> ===================================================================
> RCS file: /var/cvs/llvm/llvm/lib/Support/IsInf.cpp,v
> retrieving revision 1.3
> diff -u -r1.3 IsInf.cpp
> --- lib/Support/IsInf.cpp 1 Sep 2004 22:55:35 -0000 1.3
> +++ lib/Support/IsInf.cpp 19 Oct 2004 10...
2004 Oct 19
2
[LLVMdev] Visual C Patches for IsNAN.cpp and IsInf.cpp
I don't know if Paolo submitted his patches for these files, but they
are not in the CVS -- I've chosen a slightly different strategy, adding
a case that checks if the compiler is MSVC instead of adding
HAVE_FINITE_IN_FLOAT_H and HAVE_ISNAN_IN_FLOAT_H to the config.h file.
I don't know which is the best approach, but this is the minimal patch
to make it work...
m.
--------------
2000 Oct 31
3
bark_noise
I am experiencing some difficulties with vorbis on my LX164 alpha.
Specifically, in bark_noise (psy.c) I see the following behaviour
on the first pass through the function:
val=-3.4e38
del=1
noise[0]+=val*del
noise[1]-=val*del
norm[0]+=del
norm[1]-=del
del=1
noise[1]-=val*del <== here is the problem
At this point, noise[1]==3.4e38. We are trying to add another 3.4e38
to it and this is
2008 Feb 18
0
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
...\win32\Configure\Configure.vcproj
"Config
ure|Win32"
Target support:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\vc\vcpackag
es\vcbuild.exe
C:\Prg\llvm-2.2\llvm-2.2\win32\Support\Support.tmp_Debug_Win32.vc
proj "Debug|Win32"
..\..\lib\Support\IsInf.cpp(46): error C3861: 'isinf': identifier
not fo
und
..\..\lib\Support\IsInf.cpp(47): error C3861: 'isinf': identifier
not fo
und
..\..\lib\Support\IsNAN.cpp(31): error C3861: 'isnan': identifier
not fo
und
..\..\lib\Support\IsNAN.cpp(32): error C3861...
2010 Jan 22
2
[LLVMdev] Compiling LLVM under vista with msdev 2008 gives a few errors
...a:
lib/system
Errno.cpp : had to add "#undef HAVE_STRERROR_R"
raw_ostream.cpp: had to add "#undef HAVE_UNISTD_H"
(apparently config.h was not generated correctly)
lib/support
IsNan.cpp : had to add "#define isnan _isnan #include <float.h>"
IsInf.cpp : had to add "#define isinf !_finite #include <float.h>"
examples/ParallelJIT
ParallelJIT.cpp : "#include <pthread.h>" pthread.h not supported on
windows
Obviously, these are quick hacks to get it to compile and no solutions :)
Possibly I did something wro...
2008 Feb 18
3
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
...\win32\Configure\Configure.vcproj
"Config
ure|Win32"
Target support:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\vc\vcpackag
es\vcbuild.exe
C:\Prg\llvm-2.2\llvm-2.2\win32\Support\Support.tmp_Debug_Win32.vc
proj "Debug|Win32"
..\..\lib\Support\IsInf.cpp(46): error C3861: 'isinf':
identifier
not fo
und
..\..\lib\Support\IsInf.cpp(47): error C3861: 'isinf':
identifier
not fo
und
..\..\lib\Support\IsNAN.cpp(31): error C3861: 'isnan':
identifier
not fo
und
..\..\lib\Support\IsNAN.cpp(32): error C3861...
2008 Feb 18
2
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
By the way, somebody (I think it was Chuck, but I don't remember for
certain) was asking for the BuildLog.htm from building the llvm.sln file
under VS 2005 SP1 for diagnostic purposes; right now the SLN is configured
to produce a new BuildLog for each and every one of the projects inside the
solution. I don't know who's responsible for this guy, but that's probably
not the best way
2012 May 17
0
[LLVMdev] [PATCH] OpenCL half support
...n that spot. (line
> 720)
I'm not sure I get it. This variable is still needed couple of lines below:
bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf;
bool isDouble =
&CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble;
bool isInf = CFP->getValueAPF().isInfinity();
bool isNaN = CFP->getValueAPF().isNaN();
if (!isHalf && !isInf && !isNaN) {
> // Either half, or some form of long double.
> // These appear as a magic letter identifying the type, then a
> // fixed number of...
2004 Sep 16
1
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No suchfile or directory
...ng for C++ type std::forward_iterator<int,int>... yes
>Checking for isnan(0.0) in C++ library None... no
>Checking for isnan(0.0) in C++ library None... no
>Checking for std::isnan(0.0) in C++ library None... no
>Checking for _isnan(0.0) in C++ library None... yes
>Checking for isinf(0.0) in C++ library None... no
>Checking for isinf(0.0) in C++ library None... no
>Checking for std::isinf(0.0) in C++ library None... no
>Checking for finite(0.0) in C++ library None... no
>Checking for _finite(0.0) in C++ library None... yes
>scons: done reading SConscript files.
&...
2010 Jan 22
0
[LLVMdev] Compiling LLVM under vista with msdev 2008 gives a few errors
...: had to add "#undef HAVE_STRERROR_R"
> raw_ostream.cpp: had to add "#undef HAVE_UNISTD_H"
> (apparently config.h was not generated correctly)
>
> lib/support
>
> IsNan.cpp : had to add "#define isnan _isnan #include <float.h>"
> IsInf.cpp : had to add "#define isinf !_finite #include <float.h>"
>
> examples/ParallelJIT
>
> ParallelJIT.cpp : "#include <pthread.h>" pthread.h not supported on
> windows
>
> Obviously, these are quick hacks to get it to compile and no solutions...
2012 May 17
3
[LLVMdev] [PATCH] OpenCL half support
...not sure I get it. This variable is still needed couple of lines
> below:
>
> bool isHalf = &CFP-
> >getValueAPF().getSemantics()==&APFloat::IEEEhalf;
> bool isDouble =
> &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble;
> bool isInf = CFP->getValueAPF().isInfinity();
> bool isNaN = CFP->getValueAPF().isNaN();
> if (!isHalf && !isInf && !isNaN) {
>
> > // Either half, or some form of long double.
> > // These appear as a magic letter identifying the type, then a
&g...
2004 Sep 15
2
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
Hi
I'm trying to compile HowToUseJIT.cpp, but it seems that iterator definition
is missing:
--------------------Configuration: HowToUseJIT - Win32
Debug--------------------
Compiling...
HowToUseJIT.cpp
c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error C1083:
Cannot open include file: 'llvm/ADT/iterator': No such file or directory
Error executing cl.exe.
I've
2008 Feb 19
0
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
...Config
> ure|Win32"
> Target support:
> C:\Program Files\Microsoft Visual Studio
> 8\Common7\IDE\..\..\vc\vcpackag
> es\vcbuild.exe
> C:\Prg\llvm-2.2\llvm-2.2\win32\Support\Support.tmp_Debug_Win32.vc
> proj "Debug|Win32"
> ..\..\lib\Support\IsInf.cpp(46): error C3861: 'isinf':
> identifier
> not fo
> und
> ..\..\lib\Support\IsInf.cpp(47): error C3861: 'isinf':
> identifier
> not fo
> und
> ..\..\lib\Support\IsNAN.cpp(31): error C3861: 'isnan':
> identifier
> not fo
> u...
2012 May 11
2
[LLVMdev] [PATCH] OpenCL half support
I've got comments on the code change. The test cases look ok, but I
haven't fully checked the math on the half-values.
I checked with reference to trunk top-of-tree at revision 156617. I
have not compiled the code.
lib/AsmParser/LLLexer.cpp
Adds support to parse format: 0xH<hexdigits>
Tha 0xH format should be described in LangRef.html alongside
0xK<hex> and
2012 Oct 12
2
[LLVMdev] cmake+ninja build error for compiler-rt sources
...ound
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for index
-- Looking for index - found
-- Looking for isinf
-- Looking for isinf - not found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for finite
-- Looking for finite - not found
-- Looking for isnan
-- Looking for isnan - not found
-- Looking for ceilf
-- Looking for ceilf - found
-- Looking for floorf
-- Looking for floorf - found
-- L...
2012 Oct 13
2
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...r getrusage
> > -- Looking for getrusage - found
> > -- Looking for setrlimit
> > -- Looking for setrlimit - found
> > -- Looking for isatty
> > -- Looking for isatty - found
> > -- Looking for index
> > -- Looking for index - found
> > -- Looking for isinf
> > -- Looking for isinf - not found
> > -- Looking for isinf
> > -- Looking for isinf - found
> > -- Looking for finite
> > -- Looking for finite - not found
> > -- Looking for isnan
> > -- Looking for isnan - not found
> > -- Looking for ceilf
>...
2012 Oct 12
0
[LLVMdev] cmake+ninja build error for compiler-rt sources
...r getpagesize - found
> -- Looking for getrusage
> -- Looking for getrusage - found
> -- Looking for setrlimit
> -- Looking for setrlimit - found
> -- Looking for isatty
> -- Looking for isatty - found
> -- Looking for index
> -- Looking for index - found
> -- Looking for isinf
> -- Looking for isinf - not found
> -- Looking for isinf
> -- Looking for isinf - found
> -- Looking for finite
> -- Looking for finite - not found
> -- Looking for isnan
> -- Looking for isnan - not found
> -- Looking for ceilf
> -- Looking for ceilf - found
> -- Loo...
2004 Sep 26
2
[LLVMdev] patches and scons
...hedClasses,0));
there're also other cases in
llvm\lib\Bytecode\Reader\Reader.cpp(1484) : error C2057: expected
constant expression
llvm/lib/CodeGen/LiveVariables.cpp', # MachineInstr
*PhysRegInfoA[RegInfo->getNumRegs()]; C99
but they are too complicated for this evening ;-)
* IsInf.cpp
VC has _finite in <float.h>. I think it's needed to integrate the
#if dance in IsInf.cpp with
#elif HAVE__FINITE_IN_FLOAT_H
# include <float.h>
static int isinf(double x) { return !_finite(x); }
* IsNan.cpp
Same as above. VC has _isnan(x), so it's needed
#e...
2011 Oct 25
0
[LLVMdev] [LLVMDev] Clang stopped compiling?
On Oct 25, 2011, at 6:09 AM, Marcello Maggioni wrote:
> Hi, I'm trying to compile the latest clang/llvm SVN versions and I get
> this error on multiple systems :
Linking, not compiling, but still.
I am getting a similar error when building this morning.
> Undefined symbols for architecture x86_64:
> "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced
2012 Oct 13
0
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...king for getrusage - found
>> > -- Looking for setrlimit
>> > -- Looking for setrlimit - found
>> > -- Looking for isatty
>> > -- Looking for isatty - found
>> > -- Looking for index
>> > -- Looking for index - found
>> > -- Looking for isinf
>> > -- Looking for isinf - not found
>> > -- Looking for isinf
>> > -- Looking for isinf - found
>> > -- Looking for finite
>> > -- Looking for finite - not found
>> > -- Looking for isnan
>> > -- Looking for isnan - not found
>>...