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

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/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.9.5/CPANInternal-140/URI/t/
H A Dold-absconf.t14 print "not " unless $u1->abs->as_string eq "http://web/abc";
19 print "not " unless $u1->abs->as_string eq "http://web/../../../abc";
25 print "not " unless $u1->abs->as_string eq "http://web/abc";
30 print "not " unless $u1->abs->as_string eq "http:../../../../abc";
32 print "not " unless $u1->abs(undef,1)->as_string eq "http://web/abc";
36 print "not " unless $u1->abs(undef,0)->as_string eq "http:../../../../abc";
H A Droy-test.t39 $abs = URI->new($link)->abs($base);
40 unless ($abs eq $exp) {
42 print qq( abs("$link","$base") ==> "$abs"\n);
H A Dclone.t17 print "not " unless $u1->abs->as_string eq "http://yyy/foo";
20 print "not " unless $u2->abs->as_string eq "http://www/foo";
H A Dold-relbase.t14 $a1 = $u1->abs->as_string;
15 $a2 = $u2->abs->as_string;
16 $a3 = $u3->abs->as_string;
29 $a4 = $u4->abs;
/macosx-10.9.5/Libc-997.90.3/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.9.5/apache-786.1/httpd/support/
H A Dabs.mak1 # Microsoft Developer Studio Generated NMAKE File, Based on abs.dsp
3 CFG=abs - Win32 Debug
4 !MESSAGE No configuration specified. Defaulting to abs - Win32 Debug.
7 !IF "$(CFG)" != "abs - Win32 Release" && "$(CFG)" != "abs - Win32 Debug"
12 !MESSAGE NMAKE /f "abs.mak" CFG="abs - Win32 Debug"
16 !MESSAGE "abs - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "abs - Win32 Debug" (based on "Win32 (x86) Console Application")
28 !IF "$(CFG)" == "abs
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/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...]
/macosx-10.9.5/Heimdal-323.92.1/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.9.5/libstdcxx-60/include/c++/4.2.1/tr1/
H A Dstdlib.h47 using std::tr1::abs;
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/
H A DTimeValue.cpp20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_app_mandelbrot.rb8 return false if z.abs > 2
/macosx-10.9.5/ruby-104/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.9.5/tcl-102/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.9.5/tcl-102/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.9.5/Chess-310.5/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.9.5/Heimdal-323.92.1/lib/krb5/
H A Dtest_time.c57 diff2 = abs(sec - tv.tv_sec);
61 abs(sec - tv.tv_sec));
/macosx-10.9.5/WebCore-7537.78.1/platform/win/
H A DBitmapInfo.h53 unsigned width() const { return abs(bmiHeader.biWidth); }
54 unsigned height() const { return abs(bmiHeader.biHeight); }
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/include/
H A Dsasl_mac_krb_locl.h43 #define abs yyy_abs macro
44 int abs(int x);
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/absolute-symbol/
H A DMakefile15 ${CC} ${CCFLAGS} foo.c abs.s -dynamiclib -o libfoo.dylib
/macosx-10.9.5/tcl-102/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.9.5/tcl-102/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)}]

Completed in 163 milliseconds

1234567891011>>