Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef RK_H
  2. #define RK_H
  3.  
  4. typedef double (*func_t)(double x, double y);
  5.  
  6. extern func_t funcs[][2];
  7. extern const int nfunc;
  8. extern double values[];
  9.  
  10. /* For non-isoc99 people.  Not very efficient */
  11. #ifndef lrint
  12.  #define lrint(x) ((int)rint(x))
  13. #endif
  14. #ifndef isfinite
  15.  #define isfinite(x) (!isinf(x) && !isnan(x))
  16. #endif
  17.  
  18. #endif
  19.