pike.git / src / modules / Math / math_module.c

version» Context lines:

pike.git/src/modules/Math/math_module.c:1: - /*\ - ||| This file is part of Pike. For copyright information see COPYRIGHT. - ||| Pike is distributed under GPL, LGPL and MPL. See the file COPYING - ||| for more information. - ||| $Id: math_module.c,v 1.10 2002/10/08 20:22:33 nilsson Exp $ - \*/ + /* + || This file is part of Pike. For copyright information see COPYRIGHT. + || Pike is distributed under GPL, LGPL and MPL. See the file COPYING + || for more information. + || $Id: math_module.c,v 1.11 2002/10/11 01:39:45 nilsson Exp $ + */      #include "global.h"   #include "config.h"   #include "program.h"      #include "math_module.h"   #include "transforms.h"      /* must be included last */   #include "module_magic.h"
pike.git/src/modules/Math/math_module.c:74:    add_program_constant(sub[i].name,p,0);    if (sub[i].pd) sub[i].pd[0]=p;    else free_program(p);    }       add_float_constant("pi",3.14159265358979323846 ,0);    add_float_constant("e", 2.7182818284590452354 ,0);    add_float_constant("inf", MAKE_INF(1), 0);    add_float_constant("nan", MAKE_NAN(), 0);   } -  +