From a9a969676733d47728ff66eeeba5afbebb16393d Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 23 Jun 2004 00:25:24 +0000 Subject: Provide prototypes for IsNAN() wrapper. llvm-svn: 14339 --- llvm/include/Support/MathExtras.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/include/Support/MathExtras.h') diff --git a/llvm/include/Support/MathExtras.h b/llvm/include/Support/MathExtras.h index 1540de3fcab..f99272282ce 100644 --- a/llvm/include/Support/MathExtras.h +++ b/llvm/include/Support/MathExtras.h @@ -39,6 +39,10 @@ inline bool isPowerOf2(int64_t C, unsigned &getPow) { return false; } +// Platform-independent wrappers for the C99 isnan() function. +int IsNAN (float f); +int IsNAN (double d); + } // End llvm namespace #endif -- cgit v1.2.3