Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_tests.csv1699 sin,0x1.9259e3708bd3ap-5,0x1.9283586503fep-5
1700 sin,-0x1.9259e3708bd3ap-5,-0x1.9283586503fep-5
1701 sin,0x1.d77b117f230d6p-5,0x1.d7bdcd778049fp-5
1702 sin,-0x1.d77b117f230d6p-5,-0x1.d7bdcd778049fp-5
1703 sin,0x1.a1490c8c06ba7p-4,0x1.a202b3fb84788p-4
1704 sin,-0x1.a1490c8c06ba7p-4,-0x1.a202b3fb84788p-4
1705 sin,0x1.cc40c3805229ap-3,0x1.d037cb27ee6dfp-3
1706 sin,-0x1.cc40c3805229ap-3,-0x1.d037cb27ee6dfp-3
1707 sin,0x1.d0ef799001ba9p-3,0x1.d5064e6fe82c5p-3
1708 sin,-0x1.d0ef799001ba9p-3,-0x1.d5064e6fe82c5p-3
[all …]
Dmath_important_numbers.csv367 sin,0x1.a4a3d9c2131dfp-2,0x1.5bf0a8b145769p1,2.718281828459045
368 sin,-0x1.a4a3d9c2131dfp-2,-0x1.5bf0a8b145769p1,-2.718281828459045
369 sin,0x0.0p0,0x0.0p0,0.0
370 sin,-0x0.0p0,-0x0.0p0,-0.0
371 sin,0x1.aed548f090ceep-1,0x1.0p0,1.0
372 sin,-0x1.aed548f090ceep-1,-0x1.0p0,-1.0
373 sin,-0x1.eaee8744b05fp-2,-0x1.0p-1,-0.5
374 sin,0x1.eaee8744b05fp-2,0x1.0p-1,0.5
375 sin,0x1.1a62633145c07p-52,-0x1.921fb54442d18p2,-6.283185307179586
376 sin,0x1.0907dc193069fp-2,-0x1.815e630c155e1p2,-6.021385919380436
[all …]
/libcore/luni/src/main/native/
DNetworkUtilities.cpp43 sockaddr_in& sin = reinterpret_cast<sockaddr_in&>(tmp); in sockaddrToInetAddress() local
44 sin.sin_family = AF_INET; in sockaddrToInetAddress()
45 sin.sin_port = sin6.sin6_port; in sockaddrToInetAddress()
46 memcpy(&sin.sin_addr.s_addr, &sin6.sin6_addr.s6_addr[12], 4); in sockaddrToInetAddress()
56 const sockaddr_in& sin = reinterpret_cast<const sockaddr_in&>(ss); in sockaddrToInetAddress() local
57 rawAddress = &sin.sin_addr.s_addr; in sockaddrToInetAddress()
59 sin_port = ntohs(sin.sin_port); in sockaddrToInetAddress()
185 sockaddr_in& sin = reinterpret_cast<sockaddr_in&>(ss); in inetAddressToSockaddr() local
186 sin.sin_port = htons(port); in inetAddressToSockaddr()
187 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr); in inetAddressToSockaddr()
/libcore/ojluni/src/main/native/
DNet.c380 struct sockaddr_in *sin; in Java_sun_nio_ch_Net_localPort() local
381 sin = (struct sockaddr_in *) &sa; in Java_sun_nio_ch_Net_localPort()
382 bzero(sin, sizeof(*sin)); in Java_sun_nio_ch_Net_localPort()
387 sin->sin_len = sizeof(struct sockaddr_in); in Java_sun_nio_ch_Net_localPort()
390 sin->sin_family = AF_INET; in Java_sun_nio_ch_Net_localPort()
391 sin->sin_port = htonl(0); in Java_sun_nio_ch_Net_localPort()
392 sin->sin_addr.s_addr = INADDR_ANY; in Java_sun_nio_ch_Net_localPort()
421 struct sockaddr_in *sin; in Java_sun_nio_ch_Net_localInetAddress() local
422 sin = (struct sockaddr_in *) &sa; in Java_sun_nio_ch_Net_localInetAddress()
423 bzero(sin, sizeof(*sin)); in Java_sun_nio_ch_Net_localInetAddress()
[all …]
DMath.c36 return sin(d); in Math_sin()
163 FAST_NATIVE_METHOD(Math, sin, "(D)D"),
Djfdlibm.h47 #define sin jsin macro
Dfdlibm.h122 extern double sin __P((double));
DStrictMath.c161 NATIVE_METHOD(StrictMath, sin, "(D)D"),
/libcore/luni/src/test/java/libcore/java/lang/
DIntrinsicTest.java113 Math.sin(Math.PI); in testMath_sin()
DOldAndroidMathTest.java94 double r = Math.sin(Math.asin(OPP / HYP)); in testAsinD()
527 assertEquals("Incorrect answer", 0.0, Math.sin(0), 0D); in testSinD()
528 assertEquals("Incorrect answer", 0.8414709848078965, Math.sin(1), 0D); in testSinD()
DOldAndroidStrictMathTest.java74 assertTrue("Returned incorrect arc sine", StrictMath.sin(StrictMath in testAsinD()
504 assertTrue("Returned incorrect sine", StrictMath.sin(StrictMath in testSinD()
/libcore/ojluni/annotations/mmodule/java/lang/
DMath.annotated.java37 public static native double sin(double a); in sin() method in Math
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1896 BufferedReader sin = null; in listFiles() local
1905 sin = new BufferedReader(new InputStreamReader(s.getInputStream())); in listFiles()
1906 return new FtpFileIterator(mlsxParser, sin); in listFiles()
1910 sin = new BufferedReader(new InputStreamReader(s.getInputStream())); in listFiles()
1911 return new FtpFileIterator(parser, sin); in listFiles()
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java110 public static native double sin(double a); in sin() method in StrictMath
DMath.java148 public static native double sin(double a); in sin() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java335 StrictMath.sin(d); in timeSin()
DMathBenchmark.java413 result = Math.sin(d); in timeSin()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java91 double r = Math.sin(Math.asin(OPP / HYP)); in test_asinD()
1784 assertEquals("Incorrect answer", 0.0, Math.sin(0), 0D); in test_sinD()
1785 assertEquals("Incorrect answer", 0.8414709848078965, Math.sin(1), 0D); in test_sinD()
DStrictMathTest.java100 assertTrue("Returned incorrect arc sine", StrictMath.sin(StrictMath in test_asinD()
1354 assertTrue("Returned incorrect sine", StrictMath.sin(StrictMath in test_sinD()