mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Get more Python tests passing (#141)
This commit is contained in:
parent
916f19eea1
commit
59e1c245d1
141 changed files with 3536 additions and 1203 deletions
|
@ -30,10 +30,11 @@ TEST(acos, test) {
|
|||
EXPECT_STREQ("3.14159265358979", gc(xasprintf("%.15g", acos(-1.))));
|
||||
EXPECT_TRUE(isnan(acos(1.5)));
|
||||
EXPECT_TRUE(isnan(acos(-1.5)));
|
||||
EXPECT_TRUE(isnan(acos(2.)));
|
||||
EXPECT_TRUE(isnan(acos(NAN)));
|
||||
EXPECT_TRUE(isnan(acos(-NAN)));
|
||||
EXPECT_TRUE(isnan(acos(INFINITY)));
|
||||
EXPECT_TRUE(isnan(acos(-INFINITY)));
|
||||
EXPECT_STREQ("1.5707963267949", gc(xasprintf("%.15g", acos(__DBL_MIN__))));
|
||||
EXPECT_TRUE(isnan(acos(__LDBL_MAX__)));
|
||||
EXPECT_TRUE(isnan(acos(__DBL_MAX__)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue