The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/include/mathconst.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * mathconst.h - mathematic constants
    3  */
    4 /* $Header: /cvsup/minix/src/include/mathconst.h,v 1.1.1.1 2005/04/21 14:55:50 beng Exp $ */
    5 
    6 #ifndef _MATHCONST_H
    7 #define _MATHCONST_H
    8 
    9 /* Some constants (Hart & Cheney) */
   10 #define M_PI            3.14159265358979323846264338327950288
   11 #define M_2PI           6.28318530717958647692528676655900576
   12 #define M_3PI_4         2.35619449019234492884698253745962716
   13 #define M_PI_2          1.57079632679489661923132169163975144
   14 #define M_3PI_8         1.17809724509617246442349126872981358
   15 #define M_PI_4          0.78539816339744830961566084581987572
   16 #define M_PI_8          0.39269908169872415480783042290993786
   17 #define M_1_PI          0.31830988618379067153776752674502872
   18 #define M_2_PI          0.63661977236758134307553505349005744
   19 #define M_4_PI          1.27323954473516268615107010698011488
   20 #define M_E             2.71828182845904523536028747135266250
   21 #define M_LOG2E         1.44269504088896340735992468100189213
   22 #define M_LOG10E        0.43429448190325182765112891891660508
   23 #define M_LN2           0.69314718055994530941723212145817657
   24 #define M_LN10          2.30258509299404568401799145468436421
   25 #define M_SQRT2         1.41421356237309504880168872420969808
   26 #define M_1_SQRT2       0.70710678118654752440084436210484904
   27 #define M_EULER         0.57721566490153286060651209008240243
   28 
   29 #endif /* _MATHCONST_H */

Cache object: f048a5e5fbd4d208bc3347ebfb5d6982


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.