Searched refs:abs (Results 1 - 25 of 613) sorted by relevance

1234567891011>>

/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Math/
H A D15.8.2.1.js24 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 Dabs.c31 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 D11.4.8.js86 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 D11.7.1.js93 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 D11.7.2.js107 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 D11.7.3.js98 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 D11.10-1.js95 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 D11.10-2.js94 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 D11.10-3.js94 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 Dbn_mp_rand.c32 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 Dstdlib.h47 using std::tr1::abs;
/macosx-10.10/llvmCore-3425.0.34/unittests/Support/
H A DTimeValue.cpp20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
/macosx-10.10/ruby-106/ruby/benchmark/
H A Dbm_app_mandelbrot.rb8 return false if z.abs > 2
/macosx-10.10/WTF-7600.1.24/wtf/
H A DAVLTree.h144 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 Djacobian.rb28 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 Dfuzzy.tcl50 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 Dycbcr.c24 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 Dneval.c288 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 Dtest_time.c57 diff2 = abs(sec - tv.tv_sec);
61 abs(sec - tv.tv_sec));
/macosx-10.10/WebCore-7600.1.25/platform/win/
H A DBitmapInfo.h53 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 DMakefile15 ${CC} ${CCFLAGS} foo.c abs.s -dynamiclib -o libfoo.dylib
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/library/
H A Dfmath.tcl21 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 Ddemo-rdial.tcl22 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 DUnitBezier.js76 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 Dtestlib.tcl77 if {[expr abs($num1)] > $TEST_ABS_TOL &&
78 [expr abs($num2)] > $TEST_ABS_TOL} {
80 set diff [expr abs(($num1-$num2)/$avg)]

Completed in 4301 milliseconds

1234567891011>>