/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Math/ |
H A D | 15.8.2.1.js | 24 ECMA Section: 15.8.2.1 abs( x ) 37 var TITLE = "Math.abs()"; 49 array[item++] = new TestCase( SECTION, "Math.abs.length", 1, Math.abs.length ); 51 array[item++] = new TestCase( SECTION, "Math.abs()", Number.NaN, Math.abs() ); 52 array[item++] = new TestCase( SECTION, "Math.abs( void 0 )", Number.NaN, Math.abs(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.abs( null )", 0, Math.abs(nul [all...] |
/macosx-10.10/Libc-1044.1.2/stdlib/FreeBSD/ |
H A D | abs.c | 31 static char sccsid[] = "@(#)abs.c 8.1 (Berkeley) 6/4/93"; 34 __FBSDID("$FreeBSD: src/lib/libc/stdlib/abs.c,v 1.3 2007/01/09 00:28:09 imp Exp $"); 39 abs(j) function
|
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Expressions/ |
H A D | 11.4.8.js | 86 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 89 return ( sign * Math.floor(Math.abs(n)) ); 95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 99 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 108 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 111 n = sign * Math.floor( Math.abs(n) ) 124 if ( Math.abs( [all...] |
H A D | 11.7.1.js | 93 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 96 return ( sign * Math.floor(Math.abs(n)) ); 102 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 106 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 115 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 118 n = sign * Math.floor( Math.abs(n) ) 131 if ( Math.abs( [all...] |
H A D | 11.7.2.js | 107 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 110 return ( sign * Math.floor(Math.abs(n)) ); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 120 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 129 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 132 n = sign * Math.floor( Math.abs(n) ) 145 if ( Math.abs( [all...] |
H A D | 11.7.3.js | 98 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 101 return ( sign * Math.floor(Math.abs(n)) ); 107 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 111 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 120 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 123 n = sign * Math.floor( Math.abs(n) ) 136 if ( Math.abs( [all...] |
H A D | 11.10-1.js | 95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 98 return ( sign * Math.floor(Math.abs(n)) ); 104 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 108 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 117 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 120 n = sign * Math.floor( Math.abs(n) ) 133 if ( Math.abs( [all...] |
H A D | 11.10-2.js | 94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 97 return ( sign * Math.floor(Math.abs(n)) ); 103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 119 n = sign * Math.floor( Math.abs(n) ) 132 if ( Math.abs( [all...] |
H A D | 11.10-3.js | 94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 97 return ( sign * Math.floor(Math.abs(n)) ); 103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 119 n = sign * Math.floor( Math.abs(n) ) 132 if ( Math.abs( [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/ |
H A D | bn_mp_rand.c | 32 d = ((mp_digit) abs (rand ())) & MP_MASK; 44 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) {
|
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/tr1/ |
H A D | stdlib.h | 47 using std::tr1::abs;
|
/macosx-10.10/llvmCore-3425.0.34/unittests/Support/ |
H A D | TimeValue.cpp | 20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/macosx-10.10/ruby-106/ruby/benchmark/ |
H A D | bm_app_mandelbrot.rb | 8 return false if z.abs > 2
|
/macosx-10.10/WTF-7600.1.24/wtf/ |
H A D | AVLTree.h | 144 Abstractor& abstractor() { return abs; } 156 void purge() { abs.root = null(); } 158 bool is_empty() { return abs.root == null(); } 160 AVLTree() { abs.root = null(); } 179 handle h = tree_->abs.root; 225 handle h = tree_->abs.root; 243 handle h = tree_->abs.root; 262 return depth == 0 ? tree_->abs.root : path_h[depth - 1]; 337 int cmp_k_n(key k, handle h) { return tree_->abs.compare_key_node(k, h); } 338 int cmp_n_n(handle h1, handle h2) { return tree_->abs [all...] |
/macosx-10.10/ruby-106/ruby/ext/bigdecimal/lib/bigdecimal/ |
H A D | jacobian.rb | 28 aa = a.abs 29 bb = b.abs 33 if ((a-b)/(aa+bb)).abs < e then 50 dx = x[i].abs/ratio 51 dx = fx[i].abs/ratio if isEqual(dx,f.zero,f.zero,f.eps)
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/math/ |
H A D | fuzzy.tcl | 50 return [expr {abs($first) > abs($second)? abs($first) : abs($second)}] 66 return [expr {abs($first-$second) <= $eps3 * $scale}] 113 set vmin1 [expr {$eps5*abs(1.0+floor($number))}]
|
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/ |
H A D | ycbcr.c | 24 static int abs(int v) { return (v < 0 ? -v : v); } function 60 , abs(AbseRtotal - preveRtotal), eRtotal , AbseRtotal 61 , abs(AbseGtotal - preveGtotal), eGtotal , AbseGtotal 62 , abs(AbseBtotal - preveBtotal), eBtotal , AbseBtotal 140 if (abs(eR) > 1 || abs(eG) > 1 || abs(eB) > 1) { 155 AbseRtotal += abs(eR); 156 AbseGtotal += abs(eG); 157 AbseBtotal += abs(e [all...] |
/macosx-10.10/Chess-310.6/sjeng/ |
H A D | neval.c | 288 if (max(abs(file(bking_loc)-file(tmp)), abs(rank(bking_loc)-rank(tmp))) 289 > (abs(rank(tmp) - rank(i)))) 300 if ((max(abs(file(bking_loc)-file(tmp)), abs(rank(bking_loc)-rank(tmp)))-1) 301 > (abs(rank(tmp) - rank(i)))) 400 if (max(abs(file(wking_loc)-file(tmp)), abs(rank(wking_loc)-rank(tmp))) 401 > (abs(rank(tmp) - (rank(i))))) 412 if ((max(abs(fil [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/krb5/ |
H A D | test_time.c | 57 diff2 = abs(sec - tv.tv_sec); 61 abs(sec - tv.tv_sec));
|
/macosx-10.10/WebCore-7600.1.25/platform/win/ |
H A D | BitmapInfo.h | 53 unsigned width() const { return abs(bmiHeader.biWidth); } 54 unsigned height() const { return abs(bmiHeader.biHeight); }
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/absolute-symbol/ |
H A D | Makefile | 15 ${CC} ${CCFLAGS} foo.c abs.s -dynamiclib -o libfoo.dylib
|
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/library/ |
H A D | fmath.tcl | 21 sin sinh sqrt tan tanh fmod pow atan2 abs double int round 30 proc fabs x {uplevel 1 [list expr abs($x)]} 46 proc abs x {uplevel 1 [list expr abs($x)]} procedure
|
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/examples/controlwidget/ |
H A D | demo-rdial.tcl | 22 if {abs($val)<30} return 23 .rs configure -width [expr {abs($val)}] 26 if {abs($val)<5} return 27 .rs configure -height [expr {abs($val)}]
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Models/ |
H A D | UnitBezier.js | 76 if (Math.abs(x2) < epsilon) 79 if (Math.abs(d2) < 1e-6) 96 if (Math.abs(x2 - x) < epsilon)
|
/macosx-10.10/tcl-105/tcl_ext/incrtcl/incrTcl/itcl/tests/old/ |
H A D | testlib.tcl | 77 if {[expr abs($num1)] > $TEST_ABS_TOL && 78 [expr abs($num2)] > $TEST_ABS_TOL} { 80 set diff [expr abs(($num1-$num2)/$avg)]
|