@@ -2,6 +2,13 @@
#include "blitz.h"
#include <math.h>
+float bbNANf = 0.0/0.0;
+double bbNANd = 0.0/0.0;
+float bbPOSINFf = 1.0/0.0;
+double bbPOSINFd = 1.0/0.0;
+float bbNEGINFf = -1.0/0.0;
+double bbNEGINFd = -1.0/0.0;
+
int bbIntAbs( int x ){
return x>=0 ? x : -x;
}
@@ -4,10 +4,18 @@
#include "blitz_types.h"
#ifdef __cplusplus
extern "C"{
#endif
+float bbNANf;
+double bbNANd;
+float bbPOSINFf;
+double bbPOSINFd;
+float bbNEGINFf;
+double bbNEGINFd;
int bbIntAbs( int x );
int bbIntSgn( int x );
int bbIntMod( int x,int y );