/* File automatically created by ../scripts/text2Ccode.pl*/ const char * constants_vams = "" "/*\n" " * RCS Info\n" " * $Id: constants.vams 505 2007-01-23 11:17:43Z r29173 $\n" " *\n" " * Log\n" " * $Log$\n" " * Revision 1.3 2005/05/10 09:23:47 r29173\n" " * sync with http://www.eda.org/verilog-ams/htmlpages/public-docs/lrm/2.2/AMS-LRM-2-2.pdf\n" " *\n" " * Revision 1.2 2005/05/10 09:14:24 r29173\n" " * updated contents\n" " *\n" " *\n" "*/\n" "\n" "// Mathematical and physical constants\n" "`ifdef CONSTANTS_VAMS\n" "`else\n" "`define CONSTANTS_VAMS 1\n" "// M_ is a mathmatical constant\n" "`define M_E 2.7182818284590452354\n" "`define M_LOG2E 1.4426950408889634074\n" "`define M_LOG10E 0.43429448190325182765\n" "`define M_LN2 0.69314718055994530942\n" "`define M_LN10 2.30258509299404568402\n" "`define M_PI 3.14159265358979323846\n" "`define M_TWO_PI 6.28318530717958647693\n" "`define M_PI_2 1.57079632679489661923\n" "`define M_PI_4 0.78539816339744830962\n" "`define M_1_PI 0.31830988618379067154\n" "`define M_2_PI 0.63661977236758134308\n" "`define M_2_SQRTPI 1.12837916709551257390\n" "`define M_SQRT2 1.41421356237309504880\n" "`define M_SQRT1_2 0.70710678118654752440\n" "// The following constants have been taken from http://physics.nist.gov\n" "// P_ is a physical constant\n" "// charge of electron in coulombs\n" "`define P_Q 1.602176462e-19\n" "// speed of light in vacuum in meters/sec\n" "`define P_C 2.99792458e8\n" "// Boltzmann's constant in joules/kelvin\n" "`define P_K 1.3806503e-23\n" "// Planck’s constant in joules*sec\n" "`define P_H 6.62606876e-34\n" "// permittivity of vacuum in farads/meter\n" "`define P_EPS0 8.854187817e-12\n" "// permeability of vacuum in henrys/meter\n" "`define P_U0 (4.0e-7 * `M_PI)\n" "// zero celsius in kelvin\n" "`define P_CELSIUS0 273.15\n" "`endif\n" ;