[brlcad-commits] SF.net SVN: brlcad:[54424] brlcad/trunk/src/tclscripts/vmath.tcl
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <car...@us...> - 2013-02-15 21:28:01
|
Revision: 54424 http://brlcad.svn.sourceforge.net/brlcad/?rev=54424&view=rev Author: carlmoore Date: 2013-02-15 21:27:51 +0000 (Fri, 15 Feb 2013) Log Message: ----------- use longer constants from elsewhere in the brlcad routines Modified Paths: -------------- brlcad/trunk/src/tclscripts/vmath.tcl Modified: brlcad/trunk/src/tclscripts/vmath.tcl =================================================================== --- brlcad/trunk/src/tclscripts/vmath.tcl 2013-02-15 16:40:14 UTC (rev 54423) +++ brlcad/trunk/src/tclscripts/vmath.tcl 2013-02-15 21:27:51 UTC (rev 54424) @@ -20,24 +20,24 @@ ### # # Description - -# Simple interpreted functions for doing vmath stuff (see ../h/vmath.h +# Simple interpreted functions for doing vmath stuff (see ../../include/vmath.h # for the C preprocessor equivalents and comments! Much of this was # automatically generated. -# math constants from math.h -set M_E 2.7182818284590452354 -set M_LOG2E 1.4426950408889634074 -set M_LOG10E 0.43429448190325182765 -set M_LN2 0.69314718055994530942 -set M_LN10 2.30258509299404568402 -set M_PI 3.14159265358979323846 -set M_PI_2 1.57079632679489661923 -set M_PI_4 0.78539816339744830962 -set M_1_PI 0.31830988618379067154 -set M_2_PI 0.63661977236758134308 -set M_2_SQRTPI 1.12837916709551257390 -set M_SQRT2 1.41421356237309504880 -set M_SQRT1_2 0.70710678118654752440 +# math constants from ../../include/vmath.h +set M_E 2.71828182845904523536028747135 +set M_LOG2E 1.44269504088896340735992468100 +set M_LOG10E 0.43429448190325182765112891892 +set M_LN2 0.69314718055994530941723212146 +set M_LN10 2.30258509299404568401799145468 +set M_PI 3.14159265358979323846264338328 +set M_PI_2 1.57079632679489661923132169164 +set M_PI_4 0.78539816339744830966156608458 +set M_1_PI 0.31830988618379067153776752675 +set M_2_PI 0.63661977236758134307553505349 +set M_2_SQRTPI 1.12837916709551257389615890312 +set M_SQRT2 1.41421356237309504880168872421 +set M_SQRT1_2 0.70710678118654752440084436210 proc init_vmath {} { # this routine does nothing except ensure that the above global variables get set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |