libc-test
10 years agoadding fma tests and various hard cases for bessel and erfc
Szabolcs Nagy [Sat, 18 May 2013 16:16:58 +0000 (16:16 +0000)]
adding fma tests and various hard cases for bessel and erfc

11 years agogeneral: simple tgmath test
Szabolcs Nagy [Sat, 15 Dec 2012 09:52:15 +0000 (10:52 +0100)]
general: simple tgmath test

11 years agomath: fix long double ulperror calculation
Szabolcs Nagy [Fri, 14 Dec 2012 17:40:44 +0000 (18:40 +0100)]
math: fix long double ulperror calculation

11 years agomath: add random float generator to gen, make check work for ulp tests
Szabolcs Nagy [Fri, 14 Dec 2012 17:39:30 +0000 (18:39 +0100)]
math: add random float generator to gen, make check work for ulp tests

11 years agomath: new testcases (acos, asin, atan, expl, lgamma, tgamma)
Szabolcs Nagy [Fri, 14 Dec 2012 17:38:05 +0000 (18:38 +0100)]
math: new testcases (acos, asin, atan, expl, lgamma, tgamma)

11 years agomath: logb needs to be correctly rounded
Szabolcs Nagy [Sat, 8 Dec 2012 21:04:44 +0000 (22:04 +0100)]
math: logb needs to be correctly rounded

11 years agomath: regenerate all math tests
Szabolcs Nagy [Sat, 24 Nov 2012 14:58:55 +0000 (15:58 +0100)]
math: regenerate all math tests

gen used exp range limitation to get ieee semantics but
mpfr seems to have problems with it (eg gamma(next(-180))
incorrectly underflows) so different strategy is used:
use full exp range and only narrow it before converting
the result

now the error term uses nearest rounding and sign difference
is treated as inf ulp error during tests

added helper tools to convert between float formats

11 years agomath: add fenv test and new 'add' function in gen
Szabolcs Nagy [Sun, 18 Nov 2012 21:33:27 +0000 (22:33 +0100)]
math: add fenv test and new 'add' function in gen

11 years agomath: fix makefile so .o files are kept
Szabolcs Nagy [Sun, 18 Nov 2012 21:32:45 +0000 (22:32 +0100)]
math: fix makefile so .o files are kept

11 years agomath: add test vectors for exp functions
Szabolcs Nagy [Sun, 18 Nov 2012 21:31:17 +0000 (22:31 +0100)]
math: add test vectors for exp functions

11 years agomath: remove float-store flag, add exp2 and asinhl tests
Szabolcs Nagy [Sat, 17 Nov 2012 11:17:45 +0000 (12:17 +0100)]
math: remove float-store flag, add exp2 and asinhl tests

11 years agomath: fix nexttoward and nexttowardf tests
Szabolcs Nagy [Tue, 13 Nov 2012 10:02:55 +0000 (11:02 +0100)]
math: fix nexttoward and nexttowardf tests

11 years agomath: fix the type of the return value
Szabolcs Nagy [Tue, 13 Nov 2012 09:16:00 +0000 (10:16 +0100)]
math: fix the type of the return value

11 years agomath: fix frexp (don't check iptr when it's not specified)
Szabolcs Nagy [Mon, 12 Nov 2012 21:36:54 +0000 (22:36 +0100)]
math: fix frexp (don't check iptr when it's not specified)

11 years agomath: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)
Szabolcs Nagy [Mon, 12 Nov 2012 21:00:52 +0000 (22:00 +0100)]
math: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)

11 years agomath: in lgamma* only check signgam when it's specified
Szabolcs Nagy [Mon, 12 Nov 2012 20:06:43 +0000 (21:06 +0100)]
math: in lgamma* only check signgam when it's specified

11 years agomath/gen: fix fma fenv flags on nan
Szabolcs Nagy [Mon, 12 Nov 2012 19:49:27 +0000 (20:49 +0100)]
math/gen: fix fma fenv flags on nan

11 years agomath: add special case test vectors
Szabolcs Nagy [Mon, 12 Nov 2012 18:46:40 +0000 (19:46 +0100)]
math: add special case test vectors

11 years agomath/gen: fix ilogb, logb and modf in mp, change integer print fmt
Szabolcs Nagy [Sun, 11 Nov 2012 21:53:47 +0000 (22:53 +0100)]
math/gen: fix ilogb, logb and modf in mp, change integer print fmt

11 years agoapi: add stdbool and stddef
Szabolcs Nagy [Sat, 3 Nov 2012 20:51:05 +0000 (21:51 +0100)]
api: add stdbool and stddef

11 years agomath: ldexp, modf, nearbyint, scalb are correctly rounded
Szabolcs Nagy [Thu, 1 Nov 2012 13:59:36 +0000 (14:59 +0100)]
math: ldexp, modf, nearbyint, scalb are correctly rounded

11 years agomath: fdim is correctly rounded
Szabolcs Nagy [Thu, 1 Nov 2012 13:52:04 +0000 (14:52 +0100)]
math: fdim is correctly rounded

11 years agomath: brief readme
Szabolcs Nagy [Thu, 1 Nov 2012 13:34:44 +0000 (14:34 +0100)]
math: brief readme

11 years agomath: fpclassify test
Szabolcs Nagy [Thu, 1 Nov 2012 13:32:30 +0000 (14:32 +0100)]
math: fpclassify test

11 years agogeneral: add sysv ipc shm test, fix ipc_msg and update sem test
Szabolcs Nagy [Sun, 28 Oct 2012 18:20:59 +0000 (19:20 +0100)]
general: add sysv ipc shm test, fix ipc_msg and update sem test

11 years agogeneral: update the semaphore test
Szabolcs Nagy [Sun, 28 Oct 2012 02:00:01 +0000 (03:00 +0100)]
general: update the semaphore test

11 years agogeneral: fix snprintf and swprintf format tests
Szabolcs Nagy [Fri, 26 Oct 2012 23:32:16 +0000 (01:32 +0200)]
general: fix snprintf and swprintf format tests

11 years agomath: do correctly rounded checks where it's appropriate
Szabolcs Nagy [Thu, 25 Oct 2012 20:56:48 +0000 (22:56 +0200)]
math: do correctly rounded checks where it's appropriate

11 years agogeneral: simple sysv ipc sem test
Szabolcs Nagy [Wed, 24 Oct 2012 00:11:03 +0000 (02:11 +0200)]
general: simple sysv ipc sem test

11 years agoapi: add run target
nsz [Mon, 22 Oct 2012 19:13:19 +0000 (21:13 +0200)]
api: add run target

11 years agofix a printf format in ipc_msg
nsz [Mon, 22 Oct 2012 19:11:10 +0000 (21:11 +0200)]
fix a printf format in ipc_msg

11 years agogeneral: add memmem and strstr tests
nsz [Mon, 22 Oct 2012 19:03:55 +0000 (21:03 +0200)]
general: add memmem and strstr tests

11 years agocleanup in ipc_msg test, update some string tests
nsz [Mon, 22 Oct 2012 18:25:17 +0000 (20:25 +0200)]
cleanup in ipc_msg test, update some string tests

11 years agogeneral: don't stop on build failure
nsz [Mon, 22 Oct 2012 18:17:07 +0000 (20:17 +0200)]
general: don't stop on build failure

11 years agogeneral: add ipc_msg test
nsz [Mon, 22 Oct 2012 18:08:10 +0000 (20:08 +0200)]
general: add ipc_msg test

11 years agoapi: use macro for fmtmsg and ndbm ifdef
nsz [Mon, 22 Oct 2012 17:06:33 +0000 (19:06 +0200)]
api: use macro for fmtmsg and ndbm ifdef

11 years agoapi: declarative makefile
nsz [Mon, 22 Oct 2012 17:00:00 +0000 (19:00 +0200)]
api: declarative makefile

11 years agoreorganize makefile
nsz [Mon, 22 Oct 2012 16:31:00 +0000 (18:31 +0200)]
reorganize makefile

11 years agoapi: redirect make errors to stdout
nsz [Mon, 22 Oct 2012 16:28:50 +0000 (18:28 +0200)]
api: redirect make errors to stdout

11 years agoapi: ifdef out fmtmsg.c and ndbm.c, fix stupid gcc messages
nsz [Mon, 22 Oct 2012 16:26:45 +0000 (18:26 +0200)]
api: ifdef out fmtmsg.c and ndbm.c, fix stupid gcc messages

11 years agoput everything back to one directory
nsz [Sun, 21 Oct 2012 20:03:11 +0000 (22:03 +0200)]
put everything back to one directory

11 years agoapi: ifdef out some posix options
nsz [Sun, 21 Oct 2012 12:22:15 +0000 (14:22 +0200)]
api: ifdef out some posix options

11 years agoapi: fix unistd.h
nsz [Sat, 20 Oct 2012 21:36:53 +0000 (23:36 +0200)]
api: fix unistd.h

11 years agoapi: fix some prototype checks
nsz [Sat, 20 Oct 2012 21:23:24 +0000 (23:23 +0200)]
api: fix some prototype checks

11 years agoapi: shorten function checks (and put each into a different scope)
nsz [Sat, 20 Oct 2012 21:20:02 +0000 (23:20 +0200)]
api: shorten function checks (and put each into a different scope)

11 years agoapi: add remaining functions
nsz [Sat, 20 Oct 2012 20:57:06 +0000 (22:57 +0200)]
api: add remaining functions

11 years agoapi: add stdarg .. sys/uio
nsz [Fri, 19 Oct 2012 22:18:26 +0000 (00:18 +0200)]
api: add stdarg .. sys/uio

11 years agoapi: add spawn, don't include headers into function scope
nsz [Tue, 16 Oct 2012 22:27:02 +0000 (00:27 +0200)]
api: add spawn, don't include headers into function scope

11 years agoapi: fix limits.c
nsz [Sun, 14 Oct 2012 22:57:17 +0000 (00:57 +0200)]
api: fix limits.c

11 years agoapi: remove obsolete xsi functions from ctype, fix typo in netinet_in
nsz [Sun, 14 Oct 2012 21:01:25 +0000 (23:01 +0200)]
api: remove obsolete xsi functions from ctype, fix typo in netinet_in

11 years agoapi: add sched.c .. signal.c
nsz [Sun, 14 Oct 2012 20:49:47 +0000 (22:49 +0200)]
api: add sched.c .. signal.c

11 years agoapi: add monetary.c .. regex.c
nsz [Sun, 14 Oct 2012 19:27:03 +0000 (21:27 +0200)]
api: add monetary.c .. regex.c

11 years agoapi: add float limits locale math
nsz [Sun, 14 Oct 2012 17:03:35 +0000 (19:03 +0200)]
api: add float limits locale math

11 years agoapi: add iso646, langinfo and libgen
nsz [Sun, 14 Oct 2012 02:50:46 +0000 (04:50 +0200)]
api: add iso646, langinfo and libgen

11 years agoapi: posix header test
nsz [Sun, 14 Oct 2012 02:26:00 +0000 (04:26 +0200)]
api: posix header test

11 years agocosmetic fixes
nsz [Sat, 13 Oct 2012 19:29:39 +0000 (21:29 +0200)]
cosmetic fixes

11 years agomath: add jn and yn
nsz [Sat, 13 Oct 2012 17:35:16 +0000 (19:35 +0200)]
math: add jn and yn

11 years agomath: add remquo and fma
nsz [Sat, 13 Oct 2012 16:12:15 +0000 (18:12 +0200)]
math: add remquo and fma

11 years agomath: add modf and sincos
nsz [Sat, 13 Oct 2012 15:07:30 +0000 (17:07 +0200)]
math: add modf and sincos

11 years agomath: fix float->int functions
nsz [Sat, 13 Oct 2012 14:02:42 +0000 (16:02 +0200)]
math: fix float->int functions

11 years agomath: fix float->int functions
nsz [Sat, 13 Oct 2012 13:58:09 +0000 (15:58 +0200)]
math: fix float->int functions

11 years agomath: add lrint, lround
nsz [Sat, 13 Oct 2012 13:54:33 +0000 (15:54 +0200)]
math: add lrint, lround

11 years agomath: fix nexttoward*
nsz [Sat, 13 Oct 2012 13:25:46 +0000 (15:25 +0200)]
math: fix nexttoward*

11 years agomath: add nextafter*, nextoward* and scalb to gen
nsz [Sat, 13 Oct 2012 13:17:51 +0000 (15:17 +0200)]
math: add nextafter*, nextoward* and scalb to gen

11 years agomath: fix util for fenv without rounding modes
nsz [Thu, 11 Oct 2012 21:42:21 +0000 (23:42 +0200)]
math: fix util for fenv without rounding modes

11 years agomath: add ilogb, fix f_fi tests
nsz [Thu, 11 Oct 2012 20:36:31 +0000 (22:36 +0200)]
math: add ilogb, fix f_fi tests

11 years agoldso: dlopen test
nsz [Thu, 11 Oct 2012 19:48:20 +0000 (21:48 +0200)]
ldso: dlopen test

11 years agomath: add fenv pragma, relax the error check, simplify util.h
nsz [Tue, 9 Oct 2012 18:51:22 +0000 (20:51 +0200)]
math: add fenv pragma, relax the error check, simplify util.h

11 years agomath: add some float f(float,int) and some float f(float,int*) tests
nsz [Tue, 9 Oct 2012 13:53:07 +0000 (15:53 +0200)]
math: add some float f(float,int) and some float f(float,int*) tests

11 years agothread: use unsigned (long) instead of size_t in tls_align test
nsz [Mon, 8 Oct 2012 08:16:29 +0000 (10:16 +0200)]
thread: use unsigned (long) instead of size_t in tls_align test

11 years agofix the nonbin hack in Makefile.inc
nsz [Sun, 7 Oct 2012 20:09:51 +0000 (22:09 +0200)]
fix the nonbin hack in Makefile.inc

11 years agoupdate readme
nsz [Sun, 7 Oct 2012 20:04:24 +0000 (22:04 +0200)]
update readme

11 years agomath: use separate makefile
nsz [Sun, 7 Oct 2012 19:53:52 +0000 (21:53 +0200)]
math: use separate makefile

11 years agomath: print file:line in the error msg, fix nearbyint tests
nsz [Sun, 7 Oct 2012 19:20:43 +0000 (21:20 +0200)]
math: print file:line in the error msg, fix nearbyint tests

11 years agomath: fix test vectors for logb
nsz [Sun, 7 Oct 2012 18:58:32 +0000 (20:58 +0200)]
math: fix test vectors for logb

11 years agomath: fix mpfr code for ld80 long double functions
nsz [Sun, 7 Oct 2012 18:36:57 +0000 (20:36 +0200)]
math: fix mpfr code for ld80 long double functions

11 years agofix math test gen script
nsz [Sun, 7 Oct 2012 18:30:57 +0000 (20:30 +0200)]
fix math test gen script

11 years agoadd generated math tests
nsz [Sun, 7 Oct 2012 18:24:04 +0000 (20:24 +0200)]
add generated math tests

11 years agoinclude config.mak
nsz [Sun, 7 Oct 2012 15:21:23 +0000 (17:21 +0200)]
include config.mak

11 years agonew test framework (one main per test)
nsz [Sun, 7 Oct 2012 15:15:03 +0000 (17:15 +0200)]
new test framework (one main per test)

12 years agofnmatch: fix "[/b" test
nsz [Sun, 6 May 2012 17:11:28 +0000 (19:11 +0200)]
fnmatch: fix "[/b" test

12 years agomath += nextafter, nextafterl tests
nsz [Sun, 6 May 2012 11:16:46 +0000 (13:16 +0200)]
math += nextafter, nextafterl tests

12 years agomath += nextafter bench and test
nsz [Sat, 5 May 2012 19:58:18 +0000 (21:58 +0200)]
math += nextafter bench and test

12 years agomath: separate fenvutil.c for printing except/round flags
nsz [Sat, 5 May 2012 15:21:00 +0000 (17:21 +0200)]
math: separate fenvutil.c for printing except/round flags

12 years agosnprintf: add %lf tests
nsz [Mon, 16 Apr 2012 23:18:19 +0000 (01:18 +0200)]
snprintf: add %lf tests

12 years agostrtod: add two simple benchmarks
nsz [Thu, 12 Apr 2012 13:09:43 +0000 (15:09 +0200)]
strtod: add two simple benchmarks

12 years agoremove core limit setting
nsz [Thu, 12 Apr 2012 13:08:37 +0000 (15:08 +0200)]
remove core limit setting

12 years agomath: add float-store test
nsz [Thu, 12 Apr 2012 13:07:21 +0000 (15:07 +0200)]
math: add float-store test

12 years agostrtod: cosmetic fix
nsz [Wed, 11 Apr 2012 23:52:25 +0000 (01:52 +0200)]
strtod: cosmetic fix

12 years agoadd some random numbers to the strtod test
nsz [Wed, 11 Apr 2012 23:25:36 +0000 (01:25 +0200)]
add some random numbers to the strtod test

12 years agostrtod: add zero test
nsz [Wed, 11 Apr 2012 11:52:58 +0000 (13:52 +0200)]
strtod: add zero test

12 years agoimprove strtod overflow tests
nsz [Wed, 11 Apr 2012 10:51:29 +0000 (12:51 +0200)]
improve strtod overflow tests

12 years agostrtod test numbers near overflow
nsz [Wed, 11 Apr 2012 10:34:55 +0000 (12:34 +0200)]
strtod test numbers near overflow

12 years agoadd subnormal strtod tests
nsz [Tue, 10 Apr 2012 16:00:21 +0000 (18:00 +0200)]
add subnormal strtod tests

12 years agoconfig.mak change should imply recompile (dependency in makefile)
nsz [Tue, 10 Apr 2012 09:43:40 +0000 (11:43 +0200)]
config.mak change should imply recompile (dependency in makefile)

12 years agomath/modf fixes
nsz [Thu, 29 Mar 2012 12:17:02 +0000 (14:17 +0200)]
math/modf fixes

12 years agobenchmark filter
nsz [Thu, 29 Mar 2012 00:00:16 +0000 (02:00 +0200)]
benchmark filter

12 years agoadd math/modf benchmark
nsz [Wed, 28 Mar 2012 23:59:51 +0000 (01:59 +0200)]
add math/modf benchmark

12 years agoadd setrlimit to test run
nsz [Wed, 28 Mar 2012 23:37:26 +0000 (01:37 +0200)]
add setrlimit to test run

12 years agomakefile fixes (-D_GNU_SOURCE, print build fail)
nsz [Wed, 28 Mar 2012 23:20:47 +0000 (01:20 +0200)]
makefile fixes (-D_GNU_SOURCE, print build fail)