Searched +refs:math +refs:floor (Results 1 - 25 of 80) sorted by relevance

1234

/macosx-10.9.5/groff-38/groff/src/libs/libgroff/
H A Dfmod.c20 #include <math.h>
26 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/uwin/
H A Drint.c30 #include <math.h>
35 double d = floor((x+=.5));
36 if(d==x && d/2.!=floor(d/2))
H A Dgamma.c51 #include <math.h>
305 y = floor(x + .5);
H A Dlgamma.c52 #include <math.h>
295 z = floor(x + .5);
/macosx-10.9.5/swig-10/Lib/
H A Dmath.i5 * math.i
10 %module math
12 #include <math.h>
66 extern double floor(double x);
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DPathDrawing.py2 import math
73 CGContextAddArc(context, 0., 0., 45., 0., 2*math.pi, 0)
88 CGContextAddArc(context, 0., 0., 45., 0., 2*math.pi, 0)
99 theTransform = CGAffineTransformMakeRotation(math.pi/4)
110 CGPathAddArc(path, theTransform, 0., 0., 45., 0., 2*math.pi, False);
135 p.x = math.floor(p.x)
136 p.y = math.floor(p.y)
144 s.width = math
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DPathDrawing.py2 import math
73 CGContextAddArc(context, 0., 0., 45., 0., 2*math.pi, 0)
88 CGContextAddArc(context, 0., 0., 45., 0., 2*math.pi, 0)
99 theTransform = CGAffineTransformMakeRotation(math.pi/4)
110 CGPathAddArc(path, theTransform, 0., 0., 45., 0., 2*math.pi, False);
135 p.x = math.floor(p.x)
136 p.y = math.floor(p.y)
144 s.width = math
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/mathswig/
H A Dmathswig.i10 #include <math.h>
43 double floor(double);
/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.
110 Test fmath-1.17 {floor tests} {
111 fchecknum [floor 1.2*10.3] 12
127 Test fmath-1.21-8.5 {math error tests} {
131 Test fmath-1.21 {math error tests} {
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dlua.vim139 syn keyword luaFunc acos atan atan2 ceil floor
195 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\
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageUtils.py3 import math
218 math.floor((bounds.size.width - imageRect.size.width) / 2.0),
219 math.floor((bounds.size.height - imageRect.size.height) / 2.0))
241 CGContextRotateCTM(context, image.fRotation * math.pi / 180.0)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageUtils.py3 import math
218 math.floor((bounds.size.width - imageRect.size.width) / 2.0),
219 math.floor((bounds.size.height - imageRect.size.height) / 2.0))
241 CGContextRotateCTM(context, image.fRotation * math.pi / 180.0)
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/RoundTransparentWindow/
H A DRoundTransparentWindow.py4 from math import floor
39 if floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_1:
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/RoundTransparentWindow/
H A DRoundTransparentWindow.py4 from math import floor
39 if floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_1:
/macosx-10.9.5/shell_cmds-175/lastcomm/
H A Dlastcomm.c52 #include <math.h>
149 floor(delta / SECSPERHOUR),
150 floor(fmod(delta, SECSPERHOUR) / SECSPERMIN),
/macosx-10.9.5/CF-855.17/
H A DCFDate.c36 #include <math.h>
77 double tsrInNanoseconds = floor(tsr * __CF1_TSRRate * NSEC_PER_SEC);
141 return (CFHashCode)(float)floor(date->_time);
205 int32_t result = (int32_t)(float)floor(d - floor(d / modulus) * modulus);
211 double result = d - floor(d / modulus) * modulus;
330 absolute = (int64_t)floor(fixedat / 86400.0);
336 gdate.hour = __CFDoubleModToInt(floor(fixedat / 3600.0), 24);
337 gdate.minute = __CFDoubleModToInt(floor(fixedat / 60.0), 60);
474 absolute = (int64_t)floor(fixeda
[all...]
/macosx-10.9.5/shell_cmds-175/seq/
H A Dseq.c37 #include <math.h>
420 last = first - incr * floor((first - last) / incr);
422 last = first + incr * floor((last - first) / incr);
/macosx-10.9.5/libxslt-13/libxslt/libxslt/
H A Dnumbers.c16 #include <math.h>
1262 number = floor((scale * number + 0.5)) / scale;
1268 xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0],
1273 xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0],
1286 if ((floor(number) == 0) &&
1298 number -= floor(number);
1302 number = floor(scale * number + 0.5);
1308 xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0],
/macosx-10.9.5/tcl-102/tcl_ext/snack/snack/generic/
H A DjkFilter.c25 #include <math.h>
1246 float floor; member in struct:fadeFilter
1297 mf->floor = (float) val;
1317 mf->floor = 0.0;
1353 factor = (float) ((1.0 - mf->floor) * mf->pos / (mf->length - 1) + mf->floor);
1355 factor = (float) (1.0 - ((1.0 - mf->floor) * mf->pos / (mf->length - 1)));
1360 factor = (float) (1.0 - mf->floor) * exp(-10.0+10.0 * mf->pos/(mf->length-1)) +mf->floor;
1362 factor = (float) (1.0 - mf->floor) * ex
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/howExpensiveIs/
H A Dsieve.cpp10 #include <math.h>
82 double fl = floor(i);
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_aux.c34 #include <math.h>
81 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
/macosx-10.9.5/libxml2-26/libxml2/
H A Dtrio.c61 #include <math.h>
262 # define floorl(x) floor((double)(x))
2601 * and *l() math functions.
2693 : (int)floor(LDBL_MANT_DIG / TrioLogarithmBase(base));
2700 : (int)floor(FLT_MANT_DIG / TrioLogarithmBase(base));
2707 : (int)floor(DBL_MANT_DIG / TrioLogarithmBase(base));
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/
H A Dtrio.c61 #include <math.h>
262 # define floorl(x) floor((double)(x))
2597 * and *l() math functions.
2689 : (int)floor(LDBL_MANT_DIG / TrioLogarithmBase(base));
2696 : (int)floor(FLT_MANT_DIG / TrioLogarithmBase(base));
2703 : (int)floor(DBL_MANT_DIG / TrioLogarithmBase(base));
/macosx-10.9.5/tcl-102/tcl84/tcl/win/
H A Dnmakehlp.c22 #include <math.h>
486 while (floor(d1) != d1) {
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/win/
H A Dnmakehlp.c19 #include <math.h>
349 while (floor(d1) != d1) {

Completed in 605 milliseconds

1234