1. /* defconst.h by K.Tsuru */
  2. /****************************************
  3. SN library
  4. Definition of Mathematical constants
  5. Copy from "math.h" of Turbo C++ Ver. 4.0
  6. *****************************************/
  7. #ifndef DEF_CONST_H
  8. #define DEF_CONST_H
  9. /* Constants rounded for 21 decimals. */
  10. #ifndef M_E
  11. #define M_E 2.71828182845904523536
  12. #endif
  13. #ifndef M_LN10
  14. #define M_LN10 2.30258509299404568402
  15. #endif
  16. #ifndef M_PI
  17. #define M_PI 3.14159265358979323846
  18. #endif
  19. #ifndef M_PI_2
  20. #define M_PI_2 1.57079632679489661923
  21. #endif
  22. #ifndef M_PI_4
  23. #define M_PI_4 0.785398163397448309616
  24. #endif
  25. #ifndef M_SQRT2
  26. #define M_SQRT2 1.41421356237309504880
  27. #endif
  28. #ifndef M_SQRT_2
  29. #define M_SQRT_2 0.707106781186547524401
  30. #endif
  31. #endif //DEF_CONST_H

defconst.h : last modifiled at 2003/04/20 23:21:06(799 bytes)
created at 2016/04/11 11:18:59
The creation time of this html file is 2017/10/11 16:07:51 (Wed Oct 11 16:07:51 2017).