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

1234567

/macosx-10.10/JavaScriptCore-7600.1.17/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.10/ruby-106/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.10/groff-38/groff/src/libs/libgroff/
H A Dfmod.c26 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
/macosx-10.10/swig-12/Lib/
H A Dmath.i63 extern double ceil(double x);
/macosx-10.10/tcl-105/tcl_ext/ffidl/ffidl/demos/mathswig/
H A Dmathswig.i41 double ceil(double);
/macosx-10.10/WebCore-7600.1.25/platform/ios/
H A DSystemMemoryIOS.cpp83 return static_cast<size_t>(exp2(ceil(log2(gHostBasicInfo.max_mem))));
/macosx-10.10/llvmCore-3425.0.34/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.10/tcl-105/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.10/WebCore-7600.1.25/platform/graphics/ios/
H A DFontServicesIOS.mm95 CGFloat adjustment = (shouldUseAdjustment(font, isiOS7OrLater)) ? ceil((ascent + descent) * kLineHeightAdjustment) : 0;
100 m_lineSpacing = ceil(ascent) + adjustment + ceil(descent) + m_lineGap;
/macosx-10.10/tcl-105/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.10/tcl-105/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.10/WebCore-7600.1.25/platform/graphics/
H A DLayoutRect.cpp135 IntPoint maxPoint = IntPoint(rect.width() ? rect.maxX().ceil() : location.x(), rect.height() ? rect.maxY().ceil() : location.y());
H A DLayoutPoint.h169 return IntPoint(point.x().ceil(), point.y().ceil());
/macosx-10.10/ruby-106/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.10/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DSlider.js133 this.__maxX = this._element.offsetWidth - Math.ceil(WebInspector.Slider.KnobWidth / 2);
H A DTimelineOverview.js239 var newWidth = Math.ceil(duration / this._secondsPerPixel);
263 this._scrollContainer.scrollLeft = Math.ceil((scrollStartTime - this._startTime) / this._secondsPerPixel);
/macosx-10.10/libstdcxx-104.1/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.10/libstdcxx-104.1/include/c++/4.2.1/tr1/
H A Dmath.h49 using std::tr1::ceil;
/macosx-10.10/tcl-105/tcl/tcl/tools/
H A Dman2html1.tcl184 set nrows [expr {int(ceil([llength $type] / double($ncols)))} ]
/macosx-10.10/tcl-105/tcl84/tcl/tools/
H A Dman2html1.tcl188 set nrows [expr int( ceil( [llength $type] / $ncols. ) ) ]
/macosx-10.10/llvmCore-3425.0.34/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.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DController.py144 math.ceil(frame.size.width), math.ceil(frame.size.height))

Completed in 338 milliseconds

1234567