mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-04 19:52:28 +00:00
Allow -c to be specified with -E in cosmocc
This commit is contained in:
parent
4ed4a1095a
commit
f8cfc89eba
10 changed files with 41 additions and 4 deletions
|
@ -48,7 +48,9 @@ TEST(acoshf, test) {
|
|||
TEST(acoshl, test) {
|
||||
volatile long double x = 16;
|
||||
EXPECT_STREQ("4", gc(xdtoal(sqrtl(x))));
|
||||
#if LDBL_MANT_DIG > 64
|
||||
EXPECT_STREQ(".9624236501192069", gc(xdtoal(_acoshl(1.5))));
|
||||
#endif
|
||||
EXPECT_STREQ("0", gc(xdtoal(_acoshl(1))));
|
||||
EXPECT_TRUE(isnan(_acoshl(NAN)));
|
||||
EXPECT_TRUE(isnan(_acoshl(.5)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue