Searched +refs:math +refs:pow (Results 1 - 25 of 55) sorted by relevance

123

/macosx-10.9.5/ruby-104/ruby/missing/
H A Dcbrt.c2 #include <math.h>
7 return -pow(-x, 1/3.0);
9 return pow(x, 1/3.0);
/macosx-10.9.5/swig-10/Lib/
H A Dmath.i5 * math.i
10 %module math
12 #include <math.h>
54 extern double pow(double x, double y);
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/mathswig/
H A Dmathswig.i10 #include <math.h>
38 double pow(double, double);
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/
H A DDistance.cpp36 #include <math.h>
86 return pow(distance / m_refDistance, -m_rolloffFactor);
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/
H A Dstrtod.c29 #include <math.h>
165 if (num < DBL_MIN * pow (10.0, (double) -exponent))
170 if (num > DBL_MAX * pow (10.0, (double) -exponent))
174 num *= pow (10.0, (double) exponent);
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/tests/
H A Dfmath.test4 # Tests for the following floating point math compatibility procs:
6 # exp, log, log10, sqrt, fabs, floor, ceil, fmod, pow.
122 Test fmath-1.20 {pow tests} {
123 fchecknum [pow 13.6*.78 1.2] 17.0122
127 Test fmath-1.21-8.5 {math error tests} {
128 pow 10000 100000
131 Test fmath-1.21 {math error tests} {
132 pow 10000 100000
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/dbs/
H A Dtiff-rgb.c27 #include <math.h>
75 red[i] = ROUND((pow(i / 255.0, 1.0 / image_gamma) * 65535.0));
76 green[i] = ROUND((pow(i / 255.0, 1.0 / image_gamma) * 65535.0));
77 blue[i] = ROUND((pow(i / 255.0, 1.0 / image_gamma) * 65535.0));
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/tests/
H A Darith.sh34 trap '' FPE # NOTE: osf.alpha requires this (no ieee math)
146 if [[ $(( pow(2,3) )) != 8 ]]
147 then err_exit '$(( pow(2,3) )) != 8'
149 ( [[ $(( pow(2,(3)) )) == 8 ]] ) 2> /dev/null
151 then err_exit '$(( pow(2,(3)) )) != 8'
289 if (( 2**3 != pow(2,3) ))
292 if (( 2**3*2 != pow(2,3)*2 ))
295 if (( 4**3**2 != pow(4,pow(3,2)) ))
298 if (( (4**3)**2 != pow(po
[all...]
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dlua.vim195 syn match luaFunc /math\.abs/
196 syn match luaFunc /math\.acos/
197 syn match luaFunc /math\.asin/
198 syn match luaFunc /math\.atan/
199 syn match luaFunc /math\.atan2/
200 syn match luaFunc /math\.ceil/
201 syn match luaFunc /math\.sin/
202 syn match luaFunc /math\.cos/
203 syn match luaFunc /math\.tan/
204 syn match luaFunc /math\
[all...]
H A Derlang.vim107 syn keyword erlangBIF get_cookie hash math module_loaded
111 " functions of math library
113 syn keyword erlangFunction log log10 pi pow power sin sinh sqrt
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DCircle.py14 from math import sin, cos #, sqrt, atan2
92 hypotenuse2 = pow((self.xLoc - point.x), 2.0) + pow((self.yLoc - point.y), 2.0)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DCircle.py14 from math import sin, cos #, sqrt, atan2
92 hypotenuse2 = pow((self.xLoc - point.x), 2.0) + pow((self.yLoc - point.y), 2.0)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/simulation/
H A Drandom.tcl213 return [expr {MIN * pow(1.0-rand(),RSTEEP)}]
331 set rad [expr {RAD*pow((rand(),0.333333333333)}]
510 package require math
526 set expected [expr {int($samples * pow($lambda,$i) * exp(-$lambda) / [::math::factorial $i])}]
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_color.c40 #include <math.h>
141 * ((float)pow((double)i / cielab->range, gamma));
150 * ((float)pow((double)i / cielab->range, gamma));
159 * ((float)pow((double)i / cielab->range, gamma));
H A Dtif_aux.c34 #include <math.h>
81 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/math/
H A Dgeometry.tcl15 namespace eval ::math::geometry {}
17 package require math
57 proc ::math::geometry::p {x y} {
62 proc ::math::geometry::+ {pa pb} {
69 proc ::math::geometry::- {pa pb} {
76 proc ::math::geometry::distance {pa pb} {
83 proc ::math::geometry::length {v} {
89 proc ::math::geometry::s* {factor p} {
95 proc ::math::geometry::direction {angle} {
103 proc ::math
[all...]
/macosx-10.9.5/procmail-14/procmail/src/
H A Dincludes.h80 #include <math.h> /* pow() */
142 double pow();
450 #define tpow(x,y) pow(x,y)
/macosx-10.9.5/libxml2-26/libxml2/
H A Dtrio.c61 #include <math.h>
264 # define powl(x,y) pow((double)(x),(double)(y))
1052 * Calculate pow(base, exponent), where number and exponent are integers.
2601 * and *l() math functions.
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/
H A Dtrio.c61 #include <math.h>
264 # define powl(x,y) pow((double)(x),(double)(y))
1048 * Calculate pow(base, exponent), where number and exponent are integers.
2597 * and *l() math functions.
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dgif2tiff.c41 #include <math.h>
64 gamtab[i] = (unsigned short) (IMAX*pow(i/255.0,gam)+0.5);
/macosx-10.9.5/xnu-2422.115.4/tools/tests/jitter/
H A Dtimer_jitter.c30 #include <math.h>
178 _dev += pow((values[i] - _avg), 2);
/macosx-10.9.5/emacs-92/emacs/src/
H A Dfloatfns.c25 frexp, ldexp, log, log10, modf, pow, sin, sinh, sqrt, tan, tanh.
67 /* Work around a problem that happens because math.h on hpux 7
77 #include <math.h>
429 IN_FLOAT (d = pow (d, 1.0/3.0), "cube-root", arg);
431 IN_FLOAT (d = -pow (-d, 1.0/3.0), "cube-root", arg);
507 IN_FLOAT2 (f1 = pow (f1, f2), "expt", arg1, arg2);
1012 if (!strcmp (x->name, "pow"))
1018 ((!strcmp (x->name, "log") || !strcmp (x->name, "pow"))
/macosx-10.9.5/libxslt-13/libxslt/libexslt/
H A Dmath.c20 #include <math.h>
34 * number math:min (node-set)
75 "math:min: invalid number of arguments\n");
103 * number math:max (node-set)
171 * node-set math:highest (node-set)
251 * node-set math:lowest (node-set)
327 /* math other functions */
351 * number math:constant(string, number)
469 * number math:random ()
513 * number math
[all...]
/macosx-10.9.5/libxslt-13/libxslt/libxslt/
H A Dnumbers.c16 #include <math.h>
1261 scale = pow(10.0, (double)(format_info.frac_digits + format_info.frac_hash));
/macosx-10.9.5/rsync-42/rsync/lib/
H A Dsnprintf.c100 #ifdef TEST_SNPRINTF /* need math library headers for testing */
109 # include <math.h>
624 /* a replacement for modf that doesn't need the math library. Should
1008 double p = pow(10, x);

Completed in 228 milliseconds

123