mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Use std::isnan instead of isnan. Brought back to you from the
future, by the reconciliation of the C++ and C99 standards. Someday. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c63883f1f
commit
1d0acacc63
@ -221,7 +221,7 @@ GenericValue lle_X_log(FunctionType *M, const vector<GenericValue> &Args) {
|
||||
GenericValue lle_X_isnan(FunctionType *F, const vector<GenericValue> &Args) {
|
||||
assert(Args.size() == 1);
|
||||
GenericValue GV;
|
||||
GV.IntVal = isnan(Args[0].DoubleVal);
|
||||
GV.IntVal = std::isnan(Args[0].DoubleVal);
|
||||
return GV;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user