#include "SYS_API.h"
#include "SYS_Types.h"
#include <float.h>
#include <limits>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
Go to the source code of this file.
      
        
          | #define drand48 | ( |  | X | ) | 0; { static_assert(0, "Use SYSdrand48() instead"); } | 
      
 
 
      
        
          | #define srand48 | ( |  | X | ) | static_assert(0, "Use SYSsrand48() instead") | 
      
 
 
      
        
          | #define SYSabs | ( |  | a | ) | ((a) < 0 ? (a) : -(a)) | 
      
 
 
      
        
          | #define SYSmax | ( |  | a, | 
        
          |  |  |  | b | 
        
          |  | ) |  | ((a) > (b) ? (a) : (b)) | 
      
 
 
      
        
          | #define SYSmin | ( |  | a, | 
        
          |  |  |  | b | 
        
          |  | ) |  | ((a) < (b) ? (a) : (b)) | 
      
 
 
Check whether a number is finite. That is, not Nan and not infinity. 
- See Also
- SYSisNan() 
Definition at line 201 of file SYS_Math.h.
 
 
Check whether a number is finite. That is, not Nan and not infinity. 
- See Also
- SYSisNan() 
Definition at line 202 of file SYS_Math.h.
 
 
Check whether a number is finite. That is, not Nan and not infinity. 
- See Also
- SYSisNan() 
Definition at line 203 of file SYS_Math.h.
 
 
  
  | 
        
          | constexpr bool SYSisFinite | ( | int32 | f | ) |  |  | inline | 
 
Check whether a number is finite. That is, not Nan and not infinity. 
- See Also
- SYSisNan() 
Definition at line 204 of file SYS_Math.h.
 
 
  
  | 
        
          | constexpr bool SYSisFinite | ( | int64 | f | ) |  |  | inline | 
 
Check whether a number is finite. That is, not Nan and not infinity. 
- See Also
- SYSisNan() 
Definition at line 205 of file SYS_Math.h.
 
 
      
        
          | SYS_API bool SYSisFloat | ( | const char * | str | ) |  | 
      
 
 
Check whether a number is an infinity. 
Definition at line 210 of file SYS_Math.h.
 
 
Check whether a number is an infinity. 
Definition at line 211 of file SYS_Math.h.
 
 
Check whether a number is an infinity. 
Definition at line 212 of file SYS_Math.h.
 
 
  
  | 
        
          | constexpr bool SYSisInf | ( | int32 | f | ) |  |  | inline | 
 
Check whether a number is an infinity. 
Definition at line 213 of file SYS_Math.h.
 
 
  
  | 
        
          | constexpr bool SYSisInf | ( | int64 | f | ) |  |  | inline | 
 
Check whether a number is an infinity. 
Definition at line 214 of file SYS_Math.h.
 
 
      
        
          | SYS_API bool SYSisInt | ( | const char * | str | ) |  | 
      
 
 
template<typename F > 
  
  | 
        
          | constexpr bool SYSisNan | ( | const F | f | ) |  |  | inline | 
 
 
      
        
          | SYS_API bool SYSisNan | ( | const char * | number | ) |  | 
      
 
SYSisNan() checks whether the string represents a non-finite number. 
 
 
  
  | 
        
          | constexpr bool SYSisNormal | ( | int32 | f | ) |  |  | inline | 
 
 
  
  | 
        
          | constexpr bool SYSisNormal | ( | int64 | f | ) |  |  | inline | 
 
 
template<typename F > 
  
  | 
        
          | constexpr int SYSsignum | ( | const F | a | ) |  |  | inlinenoexcept |