mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Clean up gdtoa code
This commit is contained in:
parent
7341336b1a
commit
da45c7c80b
48 changed files with 2808 additions and 4721 deletions
|
@ -22,13 +22,6 @@
|
|||
#include "libc/x/x.h"
|
||||
#include "third_party/gdtoa/gdtoa.h"
|
||||
|
||||
TEST(strtod, testNearest) {
|
||||
EXPECT_STREQ("-1.79769313486231e+308",
|
||||
gc(xasprintf("%.15g", strtod("-1.79769313486231e+308", NULL))));
|
||||
}
|
||||
|
||||
#if 0 /* TODO(jart): Why doesn't this work on Travis CI? */
|
||||
|
||||
int oldround;
|
||||
|
||||
void SetUp(void) {
|
||||
|
@ -68,5 +61,3 @@ TEST(strtod, testTowardzero) {
|
|||
free(p);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue