diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2018-12-06 16:14:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-01-23 10:46:24 +0100 |
commit | b14a879d85b171960df789ac8ba2332004f838e0 (patch) | |
tree | 532dd01e4a882b5cf7d50ad237082574c01e67f6 /newlib/libm/test/math.c | |
parent | 1f10a00ba717b22b154205508e60af0dcb641ed3 (diff) |
Remove matherr, and SVID and X/Open math library configurations
Default math library configuration is now IEEE
Diffstat (limited to 'newlib/libm/test/math.c')
-rw-r--r-- | newlib/libm/test/math.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/newlib/libm/test/math.c b/newlib/libm/test/math.c index 0a6389a01..cd8441cc5 100644 --- a/newlib/libm/test/math.c +++ b/newlib/libm/test/math.c @@ -33,22 +33,6 @@ char *mname; int verbose; -/* To test exceptions - we trap them all and return a known value */ -int -matherr (struct exception *e) -{ - if (traperror) - { - merror = e->type + 12; - mname = e->name; - e->retval = mretval; - errno = merror + 24; - return 1; - } - return 0; -} - - void translate_to (FILE *file, double r) { @@ -90,6 +74,7 @@ ffcheck (double is, #if 0 if (p->qs[0].merror != merror) { + /* Beware, matherr doesn't exist anymore. */ printf("testing %s_vec.c:%d, matherr wrong: %d %d\n", name, p->line, merror, p->qs[0].merror); } |