gsl_const_num.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* const/gsl_const_num.h
  2. *
  3. * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
  4. * 2006 Brian Gough
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 3 of the License, or (at
  9. * your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. #ifndef __GSL_CONST_NUM__
  21. #define __GSL_CONST_NUM__
  22. #define GSL_CONST_NUM_FINE_STRUCTURE (7.297352533e-3) /* 1 */
  23. #define GSL_CONST_NUM_AVOGADRO (6.02214199e23) /* 1 / mol */
  24. #define GSL_CONST_NUM_YOTTA (1e24) /* 1 */
  25. #define GSL_CONST_NUM_ZETTA (1e21) /* 1 */
  26. #define GSL_CONST_NUM_EXA (1e18) /* 1 */
  27. #define GSL_CONST_NUM_PETA (1e15) /* 1 */
  28. #define GSL_CONST_NUM_TERA (1e12) /* 1 */
  29. #define GSL_CONST_NUM_GIGA (1e9) /* 1 */
  30. #define GSL_CONST_NUM_MEGA (1e6) /* 1 */
  31. #define GSL_CONST_NUM_KILO (1e3) /* 1 */
  32. #define GSL_CONST_NUM_MILLI (1e-3) /* 1 */
  33. #define GSL_CONST_NUM_MICRO (1e-6) /* 1 */
  34. #define GSL_CONST_NUM_NANO (1e-9) /* 1 */
  35. #define GSL_CONST_NUM_PICO (1e-12) /* 1 */
  36. #define GSL_CONST_NUM_FEMTO (1e-15) /* 1 */
  37. #define GSL_CONST_NUM_ATTO (1e-18) /* 1 */
  38. #define GSL_CONST_NUM_ZEPTO (1e-21) /* 1 */
  39. #define GSL_CONST_NUM_YOCTO (1e-24) /* 1 */
  40. #endif /* __GSL_CONST_NUM__ */