Searched refs:ceil (Results 1 - 25 of 148) sorted by relevance

123456

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/
H A D15.8.2.6.js24 ECMA Section: 15.8.2.6 Math.ceil(x)
36 - the value of Math.ceil(x) == -Math.ceil(-x)
43 var TITLE = "Math.ceil(x)";
54 array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length );
56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) );
57 array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(nul
[all...]
H A D15.8.2.9.js36 - the value of Math.floor(x) == -Math.ceil(-x)
69 array[item++] = new TestCase( SECTION, "Math.floor(NaN)==-Math.ceil(-NaN)", false, Math.floor(Number.NaN) == -Math.ceil(-Number.NaN) );
72 array[item++] = new TestCase( SECTION, "Math.floor(0)==-Math.ceil(-0)", true, Math.floor(0) == -Math.ceil(-0) );
76 array[item++] = new TestCase( SECTION, "Math.floor(-0)==-Math.ceil(0)", true, Math.floor(-0)== -Math.ceil(0) );
79 array[item++] = new TestCase( SECTION, "Math.floor(Infinity)==-Math.ceil(-Infinity)", true, Math.floor(Number.POSITIVE_INFINITY) == -Math.ceil(Number.NEGATIVE_INFINITY) );
82 array[item++] = new TestCase( SECTION, "Math.floor(-Infinity)==-Math.ceil(Infinit
[all...]
/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_mathn.rb40 assert_equal( 3, ( 13/5).ceil)
41 assert_equal( 3, ( 5/2).ceil)
42 assert_equal( 3, ( 12/5).ceil)
43 assert_equal(-2, (-12/5).ceil)
44 assert_equal(-2, ( -5/2).ceil)
45 assert_equal(-2, (-13/5).ceil)
47 assert_equal( 3, ( 13/5).ceil(0))
48 assert_equal( 3, ( 5/2).ceil(0))
49 assert_equal( 3, ( 12/5).ceil(0))
50 assert_equal(-2, (-12/5).ceil(
[all...]
/macosx-10.9.5/groff-38/groff/src/libs/libgroff/
H A Dfmod.c26 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
/macosx-10.9.5/swig-10/Lib/
H A Dmath.i63 extern double ceil(double x);
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/mathswig/
H A Dmathswig.i41 double ceil(double);
/macosx-10.9.5/llvmCore-3425.0.33/utils/lit/lit/
H A DUtil.py102 power = int(math.ceil(math.log(maxValue, 10)))
105 N = int(math.ceil(maxValue / barH))
124 pDigits = int(math.ceil(math.log(maxValue, 10)))
128 cDigits = int(math.ceil(math.log(len(items), 10)))
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/library/
H A Dfmath.tcl20 #@package: TclX-fmath acos asin atan ceil cos cosh exp fabs floor log log10 \
26 proc ceil x {uplevel 1 [list expr ceil($x)]} procedure
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/tests/
H A Dlibm.test32 ceil fmod sin}] {
34 acos - asin - atan - ceil - cos - cosh - exp - floor - log - log10 - sin - sinh -
109 {double ceil(double)}
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/tests/
H A Dfmath.test6 # exp, log, log10, sqrt, fabs, floor, ceil, fmod, pow.
114 Test fmath-1.18 {ceil tests} {
115 fchecknum [ceil 1.5*2.6] 4
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DTouchDisambiguation.cpp93 int touchPointPadding = ceil(max(touchBox.width(), touchBox.height()) * 0.5);
96 int padding = ceil(touchPointPadding / mainFrame->frameScaleFactor());
H A DDOMTimer.cpp196 double alignedTime = ceil(fireTime / alignmentInterval) * alignmentInterval;
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_float.rb10 assert_equal(3, 2.6.ceil)
11 assert_equal(-2, (-2.6).ceil)
357 assert_equal(2, 1.5.ceil)
362 assert_equal(2, 2.0.ceil)
367 assert_equal(-1, (-1.5).ceil)
372 assert_equal(-2, (-2.0).ceil)
378 assert_raise(FloatDomainError) { inf.ceil }
488 i = f.ceil
H A Dtest_numeric.rb184 assert_equal(2, a.ceil)
195 assert_equal(2, a.ceil)
206 assert_equal(-1, a.ceil)
H A Dallpairs.rb7 2.upto(Math.sqrt(ary.length).ceil) {|i|
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DViewportControl.js97 this._lastVisibleIndex = Math.min(Math.ceil(visibleTo / this._rowHeight), itemCount) - 1;
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/ext/pb_ds/detail/resize_policy/
H A Dcc_hash_max_collision_check_resize_trigger_imp.hpp168 m_max_col = size_type(::ceil(::sqrt(2 * m_load * ::log(ln_arg))));
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/tr1/
H A Dmath.h49 using std::tr1::ceil;
/macosx-10.9.5/tcl-102/tcl/tcl/tools/
H A Dman2html1.tcl184 set nrows [expr {int(ceil([llength $type] / double($ncols)))} ]
/macosx-10.9.5/tcl-102/tcl84/tcl/tools/
H A Dman2html1.tcl188 set nrows [expr int( ceil( [llength $type] / $ncols. ) ) ]
/macosx-10.9.5/WebCore-7537.78.1/platform/blackberry/
H A DRenderThemeBlackBerry.cpp931 int intrinsicHeight = ceil(mediaSliderThumbHeight / 4);
932 int x = ceil(rect.x() + mediaSliderEndAdjust * fullScreenMultiplier);
933 int y = ceil(rect.y() + (mediaControlsHeight / 2 - intrinsicHeight) / 2 * fullScreenMultiplier + fullScreenMultiplier / 2);
934 int w = ceil(rect.width() - mediaSliderEndAdjust * 2 * fullScreenMultiplier);
935 int h = ceil(intrinsicHeight * fullScreenMultiplier);
940 int wPlayed = ceil((w - mediaSliderEndAdjust) * position);
946 int wLoaded = ceil((w - (mediaSliderThumbWidth - mediaSliderEndAdjust) * fullScreenMultiplier) * loaded + mediaSliderThumbWidth * fullScreenMultiplier);
1004 int intrinsicHeight = ceil(mediaSliderThumbHeight / 4);
1005 int x = ceil(rect.x() + (mediaControlsHeight - intrinsicHeight) / 2 * fullScreenMultiplier - fullScreenMultiplier / 2);
1006 int y = ceil(rec
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DLayoutPoint.h182 return IntPoint(point.x().ceil(), point.y().ceil());
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Target/
H A DTargetLibraryInfo.h102 /// double ceil(double x);
103 ceil, enumerator in enum:llvm::LibFunc::Func
376 case LibFunc::ceil: case LibFunc::ceilf: case LibFunc::ceill:
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DController.py144 math.ceil(frame.size.width), math.ceil(frame.size.height))
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DController.py144 math.ceil(frame.size.width), math.ceil(frame.size.height))

Completed in 443 milliseconds

123456