summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShashvat Jain <shashvatjain2002@gmail.com>2018-12-06 08:08:12 -0500
committerJoel Sherrill <joel@rtems.org>2018-12-06 09:51:56 -0600
commit9598f83e7b2f447814fafba91811423b6ad4b016 (patch)
treea9251921d98f07848e46d013787cc042643fac0a
parentPOSIX Signature Test for fenv.h (GCI 2018) (diff)
downloadrtems-9598f83e7b2f447814fafba91811423b6ad4b016.tar.bz2
psxhdrs: Add POSIX Conformance Tests for math.h (GCI 2018)
Includes API tests for y0l, y1l, and ynl which are in glibc but not in POSIX or newlib. They are disabled until further investigation as to compatibility requirements are determined per the referenced ticket. Updates #3638.
-rw-r--r--testsuites/psxtests/Makefile.am192
-rw-r--r--testsuites/psxtests/psxhdrs/math/acos.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/acosf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/acosh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/acoshf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/acoshl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/acosl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asin.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asinf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asinh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asinhf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asinhl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/asinl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atan.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atan2.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/atan2f.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/atan2l.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/atanf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atanh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atanhf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atanhl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/atanl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cbrt.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cbrtf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cbrtl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ceil.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ceilf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ceill.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/copysign.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/copysignf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/copysignl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/cos.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cosf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cosh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/coshf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/coshl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/cosl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erfc.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erfcf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erfcl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erff.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/erfl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/exp.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/exp2.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/exp2f.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/exp2l.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expm1.38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expm1.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expm1f.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/expm1l.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/fabs.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/fabsf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/fabsl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/fdim.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fdimf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fdiml.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/floor.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/floorf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/floorl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/fma.c40
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmaf.c40
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmal.c40
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmax.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmaxf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmaxl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmin.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fminf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fminl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmod.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmodf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fmodl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/fpclassify.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/frexp.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/frexpf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/frexpl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/hypot.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/hypotf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/hypotl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/ilogb.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ilogbf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ilogbl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isfinite.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isgreater.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isgreaterequal.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isinf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isless.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/islessequal.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/islessgreater.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isnan.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isnormal.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/isunordered.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ldexp.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ldexpf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ldexpl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lgamma.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/lgammaf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/lgammal.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/llrint.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/llrintf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/llrintl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/llround.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/llroundf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/llroundl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/log.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log10.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log10f.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log10l.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log1p.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log1pf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log1pl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log2.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log2f.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/log2l.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/logb.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/logbf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/logbl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/logf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/logl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/lrint.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lrintf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lrintl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lround.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lroundf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/lroundl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/modf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/modff.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/modfl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nan.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/nanf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/nanl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/nearbyint.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nearbyintf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nearbyintl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nextafter.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nextafterf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nextafterl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/nexttoward.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/nexttowardf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/nexttowardl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/pow.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/powf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/powl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/remainder.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/remainderf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/remainderl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/remquo.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/remquof.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/remquol.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/rint.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/rintf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/rintl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/round.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/roundf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/roundl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalbln.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalblnf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalblnl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalbn.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalbnf.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalbnl.c39
-rw-r--r--testsuites/psxtests/psxhdrs/math/signbit.c35
-rw-r--r--testsuites/psxtests/psxhdrs/math/sin.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinhf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinhl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/sqrt.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/sqrtf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/sqrtl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tan.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/tanf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tanh.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/tanhf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tanhl.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/tanl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tgamma.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tgammaf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/tgammal.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/trunc.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/truncf.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/truncl.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/y0.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/y0f.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/y0l.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/y1.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/y1f.c37
-rw-r--r--testsuites/psxtests/psxhdrs/math/y1l.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/yn.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ynf.c38
-rw-r--r--testsuites/psxtests/psxhdrs/math/ynl.c38
194 files changed, 7497 insertions, 0 deletions
diff --git a/testsuites/psxtests/Makefile.am b/testsuites/psxtests/Makefile.am
index 09d5875d42..d24466da43 100644
--- a/testsuites/psxtests/Makefile.am
+++ b/testsuites/psxtests/Makefile.am
@@ -1095,6 +1095,195 @@ lib_a_SOURCES = psxhdrs/devctl/posix_devctl.c \
psxhdrs/dirent/telldir.c \
psxhdrs/glob/glob.c \
psxhdrs/glob/globfree.c \
+ psxhdrs/math/acos.c \
+ psxhdrs/math/acosf.c \
+ psxhdrs/math/acosh.c \
+ psxhdrs/math/acoshf.c \
+ psxhdrs/math/acoshl.c \
+ psxhdrs/math/acosl.c \
+ psxhdrs/math/asin.c \
+ psxhdrs/math/asinf.c \
+ psxhdrs/math/asinh.c \
+ psxhdrs/math/asinhf.c \
+ psxhdrs/math/asinhl.c \
+ psxhdrs/math/asinl.c \
+ psxhdrs/math/atan2.c \
+ psxhdrs/math/atan2f.c \
+ psxhdrs/math/atan2l.c \
+ psxhdrs/math/atan.c \
+ psxhdrs/math/atanf.c \
+ psxhdrs/math/atanh.c \
+ psxhdrs/math/atanhf.c \
+ psxhdrs/math/atanhl.c \
+ psxhdrs/math/atanl.c \
+ psxhdrs/math/cbrt.c \
+ psxhdrs/math/cbrtf.c \
+ psxhdrs/math/cbrtl.c \
+ psxhdrs/math/ceil.c \
+ psxhdrs/math/ceilf.c \
+ psxhdrs/math/ceill.c \
+ psxhdrs/math/copysign.c \
+ psxhdrs/math/copysignf.c \
+ psxhdrs/math/copysignl.c \
+ psxhdrs/math/cos.c \
+ psxhdrs/math/cosf.c \
+ psxhdrs/math/cosh.c \
+ psxhdrs/math/coshf.c \
+ psxhdrs/math/coshl.c \
+ psxhdrs/math/cosl.c \
+ psxhdrs/math/erf.c \
+ psxhdrs/math/erfc.c \
+ psxhdrs/math/erfcf.c \
+ psxhdrs/math/erfcl.c \
+ psxhdrs/math/erff.c \
+ psxhdrs/math/erfl.c \
+ psxhdrs/math/exp2.c \
+ psxhdrs/math/exp2f.c \
+ psxhdrs/math/exp2l.c \
+ psxhdrs/math/exp.c \
+ psxhdrs/math/expf.c \
+ psxhdrs/math/expl.c \
+ psxhdrs/math/expm1.c \
+ psxhdrs/math/expm1f.c \
+ psxhdrs/math/expm1l.c \
+ psxhdrs/math/fabs.c \
+ psxhdrs/math/fabsf.c \
+ psxhdrs/math/fabsl.c \
+ psxhdrs/math/fdim.c \
+ psxhdrs/math/fdimf.c \
+ psxhdrs/math/fdiml.c \
+ psxhdrs/math/floor.c \
+ psxhdrs/math/floorf.c \
+ psxhdrs/math/floorl.c \
+ psxhdrs/math/fma.c \
+ psxhdrs/math/fmaf.c \
+ psxhdrs/math/fmal.c \
+ psxhdrs/math/fmax.c \
+ psxhdrs/math/fmaxf.c \
+ psxhdrs/math/fmaxl.c \
+ psxhdrs/math/fmin.c \
+ psxhdrs/math/fminf.c \
+ psxhdrs/math/fminl.c \
+ psxhdrs/math/fmod.c \
+ psxhdrs/math/fmodf.c \
+ psxhdrs/math/fmodl.c \
+ psxhdrs/math/fpclassify.c \
+ psxhdrs/math/frexp.c \
+ psxhdrs/math/frexpf.c \
+ psxhdrs/math/frexpl.c \
+ psxhdrs/math/hypot.c \
+ psxhdrs/math/hypotf.c \
+ psxhdrs/math/hypotl.c \
+ psxhdrs/math/ilogb.c \
+ psxhdrs/math/ilogbf.c \
+ psxhdrs/math/ilogbl.c \
+ psxhdrs/math/isfinite.c \
+ psxhdrs/math/isgreater.c \
+ psxhdrs/math/isgreaterequal.c \
+ psxhdrs/math/isinf.c \
+ psxhdrs/math/isless.c \
+ psxhdrs/math/islessequal.c \
+ psxhdrs/math/islessgreater.c \
+ psxhdrs/math/isnan.c \
+ psxhdrs/math/isnormal.c \
+ psxhdrs/math/isunordered.c \
+ psxhdrs/math/ldexp.c \
+ psxhdrs/math/ldexpf.c \
+ psxhdrs/math/ldexpl.c \
+ psxhdrs/math/lgamma.c \
+ psxhdrs/math/lgammaf.c \
+ psxhdrs/math/lgammal.c \
+ psxhdrs/math/llrint.c \
+ psxhdrs/math/llrintf.c \
+ psxhdrs/math/llrintl.c \
+ psxhdrs/math/llround.c \
+ psxhdrs/math/llroundf.c \
+ psxhdrs/math/llroundl.c \
+ psxhdrs/math/log10.c \
+ psxhdrs/math/log10f.c \
+ psxhdrs/math/log10l.c \
+ psxhdrs/math/log1p.c \
+ psxhdrs/math/log1pf.c \
+ psxhdrs/math/log1pl.c \
+ psxhdrs/math/log2.c \
+ psxhdrs/math/log2f.c \
+ psxhdrs/math/log2l.c \
+ psxhdrs/math/logb.c \
+ psxhdrs/math/logbf.c \
+ psxhdrs/math/logbl.c \
+ psxhdrs/math/log.c \
+ psxhdrs/math/logf.c \
+ psxhdrs/math/logl.c \
+ psxhdrs/math/lrint.c \
+ psxhdrs/math/lrintf.c \
+ psxhdrs/math/lrintl.c \
+ psxhdrs/math/lround.c \
+ psxhdrs/math/lroundf.c \
+ psxhdrs/math/lroundl.c \
+ psxhdrs/math/modf.c \
+ psxhdrs/math/modff.c \
+ psxhdrs/math/modfl.c \
+ psxhdrs/math/nan.c \
+ psxhdrs/math/nanf.c \
+ psxhdrs/math/nanl.c \
+ psxhdrs/math/nearbyint.c \
+ psxhdrs/math/nearbyintf.c \
+ psxhdrs/math/nearbyintl.c \
+ psxhdrs/math/nextafter.c \
+ psxhdrs/math/nextafterf.c \
+ psxhdrs/math/nextafterl.c \
+ psxhdrs/math/nexttoward.c \
+ psxhdrs/math/nexttowardf.c \
+ psxhdrs/math/nexttowardl.c \
+ psxhdrs/math/pow.c \
+ psxhdrs/math/powf.c \
+ psxhdrs/math/powl.c \
+ psxhdrs/math/remainder.c \
+ psxhdrs/math/remainderf.c \
+ psxhdrs/math/remainderl.c \
+ psxhdrs/math/remquo.c \
+ psxhdrs/math/remquof.c \
+ psxhdrs/math/remquol.c \
+ psxhdrs/math/rint.c \
+ psxhdrs/math/rintf.c \
+ psxhdrs/math/rintl.c \
+ psxhdrs/math/round.c \
+ psxhdrs/math/roundf.c \
+ psxhdrs/math/roundl.c \
+ psxhdrs/math/scalbln.c \
+ psxhdrs/math/scalblnf.c \
+ psxhdrs/math/scalblnl.c \
+ psxhdrs/math/scalbn.c \
+ psxhdrs/math/scalbnf.c \
+ psxhdrs/math/scalbnl.c \
+ psxhdrs/math/signbit.c \
+ psxhdrs/math/sin.c \
+ psxhdrs/math/sinf.c \
+ psxhdrs/math/sinh.c \
+ psxhdrs/math/sinhf.c \
+ psxhdrs/math/sinhl.c \
+ psxhdrs/math/sinl.c \
+ psxhdrs/math/sqrt.c \
+ psxhdrs/math/sqrtf.c \
+ psxhdrs/math/sqrtl.c \
+ psxhdrs/math/tan.c \
+ psxhdrs/math/tanf.c \
+ psxhdrs/math/tanh.c \
+ psxhdrs/math/tanhf.c \
+ psxhdrs/math/tanhl.c \
+ psxhdrs/math/tanl.c \
+ psxhdrs/math/tgamma.c \
+ psxhdrs/math/tgammaf.c \
+ psxhdrs/math/tgammal.c \
+ psxhdrs/math/trunc.c \
+ psxhdrs/math/truncf.c \
+ psxhdrs/math/truncl.c \
+ psxhdrs/math/y0.c \
+ psxhdrs/math/y0f.c \
+ psxhdrs/math/y1.c \
+ psxhdrs/math/y1f.c \
+ psxhdrs/math/yn.c \
+ psxhdrs/math/ynf.c \
psxhdrs/mqueue/mq_open.c \
psxhdrs/mqueue/mq_close.c \
psxhdrs/mqueue/mq_getattr.c \
@@ -1340,6 +1529,9 @@ lib_a_SOURCES = psxhdrs/devctl/posix_devctl.c \
## lib_a_SOURCES += psxhdrs/fenv/fesetround.c See ticket #2971
## lib_a_SOURCES += psxhdrs/fenv/fetestexcept.c See ticket #2971
## lib_a_SOURCES += psxhdrs/ftw/ftw.c See ticket #2970
+## lib_a_SOURCES += psxhdrs/math/y0l.c See ticket #3638
+## lib_a_SOURCES += psxhdrs/math/y1l.c See ticket #3638
+## lib_a_SOURCES += psxhdrs/math/ynl.c See ticket #3638
## lib_a_SOURCES += psxhdrs/ftw/nftw.c See ticket #2970
## lib_a_SOURCES += psxhdrs/stdio/getdelim.c See ticket #3633
## lib_a_SOURCES += psxhdrs/stdio/getline.c See ticket #3633
diff --git a/testsuites/psxtests/psxhdrs/math/acos.c b/testsuites/psxtests/psxhdrs/math/acos.c
new file mode 100644
index 0000000000..ccc952bb5e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acos.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acos() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=1;
+ double result;
+
+ result = acos(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/acosf.c b/testsuites/psxtests/psxhdrs/math/acosf.c
new file mode 100644
index 0000000000..4f14253719
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acosf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acosf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=(1.0);
+ float result;
+
+ result = acosf(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/acosh.c b/testsuites/psxtests/psxhdrs/math/acosh.c
new file mode 100644
index 0000000000..fa30e27bc0
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acosh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acosh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=1;
+ double result;
+
+ result = acosh(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/acoshf.c b/testsuites/psxtests/psxhdrs/math/acoshf.c
new file mode 100644
index 0000000000..47766b00a0
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acoshf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acoshf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=(1.0);
+ float result;
+
+ result = acoshf(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/acoshl.c b/testsuites/psxtests/psxhdrs/math/acoshl.c
new file mode 100644
index 0000000000..1948927e1c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acoshl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acoshl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x=1;
+ long double result;
+
+ result = acoshl(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/acosl.c b/testsuites/psxtests/psxhdrs/math/acosl.c
new file mode 100644
index 0000000000..d4678468db
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/acosl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief acosl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x=1;
+ long double result;
+
+ result = acosl(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asin.c b/testsuites/psxtests/psxhdrs/math/asin.c
new file mode 100644
index 0000000000..52e98b16eb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asin.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asin() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=(+0);
+ double result;
+
+ result = asin(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asinf.c b/testsuites/psxtests/psxhdrs/math/asinf.c
new file mode 100644
index 0000000000..1a4fe28ff4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asinf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asinf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=(0.0);
+ float result;
+
+ result = asinf(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asinh.c b/testsuites/psxtests/psxhdrs/math/asinh.c
new file mode 100644
index 0000000000..cf3495e28d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asinh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asinh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=(+0);
+ double result;
+
+ result = asinh(x);
+
+ return (result); /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asinhf.c b/testsuites/psxtests/psxhdrs/math/asinhf.c
new file mode 100644
index 0000000000..037cb23720
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asinhf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asinhf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 0 ;
+ float result ;
+
+ result = asinhf(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asinhl.c b/testsuites/psxtests/psxhdrs/math/asinhl.c
new file mode 100644
index 0000000000..180a074efb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asinhl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asinhl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 0 ;
+ long double result ;
+
+ result = asinhl(x);
+
+ return (result); /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/asinl.c b/testsuites/psxtests/psxhdrs/math/asinl.c
new file mode 100644
index 0000000000..7e389ac257
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/asinl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief asinl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 0 ;
+ long double result;
+
+ result = asinl(x) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atan.c b/testsuites/psxtests/psxhdrs/math/atan.c
new file mode 100644
index 0000000000..a955e01c02
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atan.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atan() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ double result ;
+
+ result = atan(x) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atan2.c b/testsuites/psxtests/psxhdrs/math/atan2.c
new file mode 100644
index 0000000000..3d1ce94e91
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atan2.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief atan2() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 1 ;
+ double y = 0 ;
+ double result ;
+
+ result = atan2( y , x ) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atan2f.c b/testsuites/psxtests/psxhdrs/math/atan2f.c
new file mode 100644
index 0000000000..9075ac3ffd
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atan2f.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief atan2f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 1 ;
+ float y = 0 ;
+ float result ;
+
+ result = atan2f( y , x ) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atan2l.c b/testsuites/psxtests/psxhdrs/math/atan2l.c
new file mode 100644
index 0000000000..2f3e06d014
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atan2l.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief atan2l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 1 ;
+ long double y = 0 ;
+ long double result ;
+
+ result = atan2l( y , x ) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atanf.c b/testsuites/psxtests/psxhdrs/math/atanf.c
new file mode 100644
index 0000000000..2e1b433ace
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atanf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atanf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 0 ;
+ float result ;
+
+ result = atanf(x) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atanh.c b/testsuites/psxtests/psxhdrs/math/atanh.c
new file mode 100644
index 0000000000..cf1c2413e8
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atanh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atanh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ double result ;
+
+ result = atanh( x ) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atanhf.c b/testsuites/psxtests/psxhdrs/math/atanhf.c
new file mode 100644
index 0000000000..ffe0df002d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atanhf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atanhf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 0 ;
+ float result ;
+
+ result = atanhf(x) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atanhl.c b/testsuites/psxtests/psxhdrs/math/atanhl.c
new file mode 100644
index 0000000000..d30bbf04cb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atanhl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atanhl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 0 ;
+ long double result ;
+
+ result = atanhl( x ) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/atanl.c b/testsuites/psxtests/psxhdrs/math/atanl.c
new file mode 100644
index 0000000000..8cb1fe4635
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/atanl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief atanl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 0 ;
+ long double result ;
+
+ result = atanl(x) ;
+
+ return (result) ; /* This should return 0 */
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cbrt.c b/testsuites/psxtests/psxhdrs/math/cbrt.c
new file mode 100644
index 0000000000..efdf695494
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cbrt.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cbrt() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 343 ;
+ double result;
+
+ result = cbrt(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cbrtf.c b/testsuites/psxtests/psxhdrs/math/cbrtf.c
new file mode 100644
index 0000000000..90437dd63f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cbrtf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cbrtf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 343.556 ;
+ float result;
+
+ result = cbrtf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cbrtl.c b/testsuites/psxtests/psxhdrs/math/cbrtl.c
new file mode 100644
index 0000000000..0348c2520b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cbrtl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cbrtl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 3435788 ;
+ long double result;
+
+ result = cbrtl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ceil.c b/testsuites/psxtests/psxhdrs/math/ceil.c
new file mode 100644
index 0000000000..f3e14565bd
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ceil.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ceil() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4.5 ;
+ double result;
+
+ result = ceil(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ceilf.c b/testsuites/psxtests/psxhdrs/math/ceilf.c
new file mode 100644
index 0000000000..e6197578d0
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ceilf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ceilf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 3.5662810199 ;
+ float result;
+
+ result = ceilf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ceill.c b/testsuites/psxtests/psxhdrs/math/ceill.c
new file mode 100644
index 0000000000..4878eb63cc
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ceill.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ceill() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 61884.5389318 ;
+ long double result;
+
+ result = ceill(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/copysign.c b/testsuites/psxtests/psxhdrs/math/copysign.c
new file mode 100644
index 0000000000..5f7c9c723e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/copysign.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief copysign() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
+ #include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 49 ;
+ double y = -4 ;
+ double result;
+
+ result = copysign( x , y ) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/copysignf.c b/testsuites/psxtests/psxhdrs/math/copysignf.c
new file mode 100644
index 0000000000..da8b216caa
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/copysignf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief copysignf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 49.97 ;
+ float y = -4.1 ;
+ float result;
+
+ result = copysign( x , y ) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/copysignl.c b/testsuites/psxtests/psxhdrs/math/copysignl.c
new file mode 100644
index 0000000000..02eb2d49b5
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/copysignl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief copysignl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 76 ;
+ long double y = -1 ;
+ long double result;
+
+ result = copysign( x , y ) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cos.c b/testsuites/psxtests/psxhdrs/math/cos.c
new file mode 100644
index 0000000000..35d5b2715c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cos.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cos() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 90 ;
+ double result;
+
+ result = cos(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cosf.c b/testsuites/psxtests/psxhdrs/math/cosf.c
new file mode 100644
index 0000000000..dedc39bc68
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cosf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cosf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 36.04 ;
+ float result;
+
+ result = cosf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cosh.c b/testsuites/psxtests/psxhdrs/math/cosh.c
new file mode 100644
index 0000000000..b495f835ff
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cosh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cosh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 20 ;
+ double result;
+
+ result = cosh(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/coshf.c b/testsuites/psxtests/psxhdrs/math/coshf.c
new file mode 100644
index 0000000000..dd05ebe1c4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/coshf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief coshf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 20.78 ;
+ float result;
+
+ result = coshf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/coshl.c b/testsuites/psxtests/psxhdrs/math/coshl.c
new file mode 100644
index 0000000000..4e7bf21e2a
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/coshl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief coshl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 10 ;
+ long double result;
+
+ result = coshl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/cosl.c b/testsuites/psxtests/psxhdrs/math/cosl.c
new file mode 100644
index 0000000000..c038abc8a5
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/cosl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief cosl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 45 ;
+ long double result;
+
+ result = cosl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erf.c b/testsuites/psxtests/psxhdrs/math/erf.c
new file mode 100644
index 0000000000..ac8310c87a
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 90 ;
+ double result ;
+
+ result = erf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erfc.c b/testsuites/psxtests/psxhdrs/math/erfc.c
new file mode 100644
index 0000000000..5b52088fc9
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erfc.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erfc() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ double result ;
+
+ result = erfc(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erfcf.c b/testsuites/psxtests/psxhdrs/math/erfcf.c
new file mode 100644
index 0000000000..be65092301
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erfcf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erfcf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 0 ;
+ float result ;
+
+ result = erfcf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erfcl.c b/testsuites/psxtests/psxhdrs/math/erfcl.c
new file mode 100644
index 0000000000..dd63516008
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erfcl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erfcl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 0 ;
+ long double result ;
+
+ result = erfcl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erff.c b/testsuites/psxtests/psxhdrs/math/erff.c
new file mode 100644
index 0000000000..a0120ab959
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erff.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erff() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 89.7 ;
+ float result ;
+
+ result = erff(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/erfl.c b/testsuites/psxtests/psxhdrs/math/erfl.c
new file mode 100644
index 0000000000..5e0a65e914
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/erfl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief erfl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 180 ;
+ long double result ;
+
+ result = erfl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/exp.c b/testsuites/psxtests/psxhdrs/math/exp.c
new file mode 100644
index 0000000000..d0c3fda519
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/exp.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief exp() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 2 ;
+ double result ;
+
+ result = exp(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/exp2.c b/testsuites/psxtests/psxhdrs/math/exp2.c
new file mode 100644
index 0000000000..32df0e9075
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/exp2.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief exp2() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4 ;
+ double result ;
+
+ result = exp2(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/exp2f.c b/testsuites/psxtests/psxhdrs/math/exp2f.c
new file mode 100644
index 0000000000..2482f7ac4b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/exp2f.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief exp2f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4.5 ;
+ float result ;
+
+ result = exp2f(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/exp2l.c b/testsuites/psxtests/psxhdrs/math/exp2l.c
new file mode 100644
index 0000000000..6996468dda
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/exp2l.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief exp2l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 23 ;
+ long double result ;
+
+ result = exp2l(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expf.c b/testsuites/psxtests/psxhdrs/math/expf.c
new file mode 100644
index 0000000000..450e6fdb0a
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief expf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2.3 ;
+ float result ;
+
+ result = expf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expl.c b/testsuites/psxtests/psxhdrs/math/expl.c
new file mode 100644
index 0000000000..c6b1c4f7e1
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief expl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 20 ;
+ long double result ;
+
+ result = expl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expm1. b/testsuites/psxtests/psxhdrs/math/expm1.
new file mode 100644
index 0000000000..bef42e1373
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expm1.
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief exp() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ double result ;
+
+ result = expm1(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expm1.c b/testsuites/psxtests/psxhdrs/math/expm1.c
new file mode 100644
index 0000000000..3b787f9749
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expm1.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief expm1() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ double result ;
+
+ result = expm1(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expm1f.c b/testsuites/psxtests/psxhdrs/math/expm1f.c
new file mode 100644
index 0000000000..2077c1220c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expm1f.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief expm1f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2.6 ;
+ float result ;
+
+ result = expm1f(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/expm1l.c b/testsuites/psxtests/psxhdrs/math/expm1l.c
new file mode 100644
index 0000000000..f487338707
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/expm1l.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief expm1l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 5 ;
+ long double result ;
+
+ result = expm1l(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fabs.c b/testsuites/psxtests/psxhdrs/math/fabs.c
new file mode 100644
index 0000000000..fd550a632b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fabs.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief fabs() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 43.8 ;
+ double result ;
+
+ result = fabs(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fabsf.c b/testsuites/psxtests/psxhdrs/math/fabsf.c
new file mode 100644
index 0000000000..aca5907605
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fabsf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief fabsf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 34.456 ;
+ float result ;
+
+ result = fabsf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fabsl.c b/testsuites/psxtests/psxhdrs/math/fabsl.c
new file mode 100644
index 0000000000..bac392bb83
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fabsl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief fabsl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 43.84266741 ;
+ long double result ;
+
+ result = fabsl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fdim.c b/testsuites/psxtests/psxhdrs/math/fdim.c
new file mode 100644
index 0000000000..b91a8fa8e0
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fdim.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fdim() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 6887900 ;
+ double y = 9897 ;
+ double result ;
+
+ result = fdim(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fdimf.c b/testsuites/psxtests/psxhdrs/math/fdimf.c
new file mode 100644
index 0000000000..1bb3009f53
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fdimf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fdimf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 43779.86 ;
+ float y = 479.86 ;
+ float result ;
+
+ result = fdimf(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fdiml.c b/testsuites/psxtests/psxhdrs/math/fdiml.c
new file mode 100644
index 0000000000..c7855ad8c5
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fdiml.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fdiml() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 6887900 ;
+ long double y = 9897 ;
+ long double result ;
+
+ result = fdiml(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/floor.c b/testsuites/psxtests/psxhdrs/math/floor.c
new file mode 100644
index 0000000000..08726eaab5
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/floor.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief floor() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 68.567 ;
+ double result ;
+
+ result = floor(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/floorf.c b/testsuites/psxtests/psxhdrs/math/floorf.c
new file mode 100644
index 0000000000..132b361abe
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/floorf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief floorf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 68.567 ;
+ float result ;
+
+ result = floorf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/floorl.c b/testsuites/psxtests/psxhdrs/math/floorl.c
new file mode 100644
index 0000000000..2e6a342296
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/floorl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief floorl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 68.567 ;
+ long double result ;
+
+ result = floorl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fma.c b/testsuites/psxtests/psxhdrs/math/fma.c
new file mode 100644
index 0000000000..43053e0d78
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fma.c
@@ -0,0 +1,40 @@
+/**
+ * @file
+ * @brief fma() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 6834 ;
+ double y = 45 ;
+ double z = 6 ;
+ double result ;
+
+ result = fma(x,y,z) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmaf.c b/testsuites/psxtests/psxhdrs/math/fmaf.c
new file mode 100644
index 0000000000..28a0c05050
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmaf.c
@@ -0,0 +1,40 @@
+/**
+ * @file
+ * @brief fmaf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 6834 ;
+ float y = 45 ;
+ float z = 6 ;
+ float result ;
+
+ result = fmaf(x,y,z) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmal.c b/testsuites/psxtests/psxhdrs/math/fmal.c
new file mode 100644
index 0000000000..bad6c42cb4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmal.c
@@ -0,0 +1,40 @@
+/**
+ * @file
+ * @brief fmal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 6834 ;
+ long double y = 45 ;
+ long double z = 6 ;
+ long double result ;
+
+ result = fmal(x,y,z) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmax.c b/testsuites/psxtests/psxhdrs/math/fmax.c
new file mode 100644
index 0000000000..b20c2d6f9b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmax.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmax() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 6834 ;
+ double y = 45 ;
+ double result ;
+
+ result = fmax(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmaxf.c b/testsuites/psxtests/psxhdrs/math/fmaxf.c
new file mode 100644
index 0000000000..ec6dd2a5a1
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmaxf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmaxf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 6834 ;
+ float y = 45 ;
+ float result ;
+
+ result = fmaxf(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmaxl.c b/testsuites/psxtests/psxhdrs/math/fmaxl.c
new file mode 100644
index 0000000000..a98aba2e6f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmaxl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmaxl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 6834 ;
+ long double y = 45 ;
+ long double result ;
+
+ result = fmaxl(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmin.c b/testsuites/psxtests/psxhdrs/math/fmin.c
new file mode 100644
index 0000000000..19671529cb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmin.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmin() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 6834 ;
+ double y = 45 ;
+ double result ;
+
+ result = fmin(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fminf.c b/testsuites/psxtests/psxhdrs/math/fminf.c
new file mode 100644
index 0000000000..a4784a2c14
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fminf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fminf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 6834 ;
+ float y = 45 ;
+ float result ;
+
+ result = fminf(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fminl.c b/testsuites/psxtests/psxhdrs/math/fminl.c
new file mode 100644
index 0000000000..44782d495c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fminl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fminl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 6834 ;
+ long double y = 45 ;
+ long double result ;
+
+ result = fminl(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmod.c b/testsuites/psxtests/psxhdrs/math/fmod.c
new file mode 100644
index 0000000000..9cc54e3f91
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmod.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmod() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 6835 ;
+ double y = 45 ;
+ double result ;
+
+ result = fmod(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmodf.c b/testsuites/psxtests/psxhdrs/math/fmodf.c
new file mode 100644
index 0000000000..4735eaa09f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmodf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmodf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 6835 ;
+ float y = 45 ;
+ float result ;
+
+ result = fmodf(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fmodl.c b/testsuites/psxtests/psxhdrs/math/fmodl.c
new file mode 100644
index 0000000000..ddfc5fd228
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fmodl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief fmodl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 6835 ;
+ long double y = 45 ;
+ long double result ;
+
+ result = fmodl(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/fpclassify.c b/testsuites/psxtests/psxhdrs/math/fpclassify.c
new file mode 100644
index 0000000000..97290e879f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/fpclassify.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief fpclassify() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 0 ;
+ int result ;
+
+ result = fpclassify(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/frexp.c b/testsuites/psxtests/psxhdrs/math/frexp.c
new file mode 100644
index 0000000000..d569d64aa4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/frexp.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief frexp() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 2560 ;
+ int exp ;
+ double result ;
+
+ result = frexp(x,&exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/frexpf.c b/testsuites/psxtests/psxhdrs/math/frexpf.c
new file mode 100644
index 0000000000..907e01f44b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/frexpf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief frexpf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2560 , result ;
+ int exp ;
+
+ result = frexpf(x,&exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/frexpl.c b/testsuites/psxtests/psxhdrs/math/frexpl.c
new file mode 100644
index 0000000000..8bb2f27ed2
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/frexpl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief frexpl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 2560 , result ;
+ int exp ;
+
+ result = frexpl(x,&exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/hypot.c b/testsuites/psxtests/psxhdrs/math/hypot.c
new file mode 100644
index 0000000000..0b98f4eb59
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/hypot.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief hypot() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 3 , y = 4 , result ;
+
+ result = hypot(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/hypotf.c b/testsuites/psxtests/psxhdrs/math/hypotf.c
new file mode 100644
index 0000000000..098daa90fd
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/hypotf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief hypotf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 3 , y = 4 , result ;
+
+ result = hypotf(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/hypotl.c b/testsuites/psxtests/psxhdrs/math/hypotl.c
new file mode 100644
index 0000000000..9f5893ca46
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/hypotl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief hypotl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 3 , y = 4 , result ;
+
+ result = hypotl(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ilogb.c b/testsuites/psxtests/psxhdrs/math/ilogb.c
new file mode 100644
index 0000000000..b5396fc477
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ilogb.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ilogb() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 345.23 ;
+ int result ;
+
+ result = ilogb(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ilogbf.c b/testsuites/psxtests/psxhdrs/math/ilogbf.c
new file mode 100644
index 0000000000..0c570f4612
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ilogbf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ilogbf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 345.23 ;
+ int result ;
+
+ result = ilogbf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ilogbl.c b/testsuites/psxtests/psxhdrs/math/ilogbl.c
new file mode 100644
index 0000000000..d4aa10fdeb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ilogbl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ilogbl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 345.23 ;
+ int result ;
+
+ result = ilogbl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isfinite.c b/testsuites/psxtests/psxhdrs/math/isfinite.c
new file mode 100644
index 0000000000..ce0d32b308
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isfinite.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isfinite() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.67 ;
+ int result ;
+
+ result = isfinite(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isgreater.c b/testsuites/psxtests/psxhdrs/math/isgreater.c
new file mode 100644
index 0000000000..6ac915c87d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isgreater.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isgreater() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45.0 , y = 46.0 ;
+ int result;
+
+ result = isgreater(x,y);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isgreaterequal.c b/testsuites/psxtests/psxhdrs/math/isgreaterequal.c
new file mode 100644
index 0000000000..cc89209c7d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isgreaterequal.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isgreaterequal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45 , y = 46 ;
+ int result;
+
+ result = isgreaterequal(x,y);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isinf.c b/testsuites/psxtests/psxhdrs/math/isinf.c
new file mode 100644
index 0000000000..2556a8d55f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isinf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isinf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = -INFINITY ;
+ int result ;
+
+ result = isinf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isless.c b/testsuites/psxtests/psxhdrs/math/isless.c
new file mode 100644
index 0000000000..3514ebf4bc
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isless.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isless() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45 , y = 46 ;
+ int result;
+
+ result = isless(x,y);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/islessequal.c b/testsuites/psxtests/psxhdrs/math/islessequal.c
new file mode 100644
index 0000000000..b20f44c9b2
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/islessequal.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief islessequal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 45 , y = 46 ;
+ int result ;
+
+ result = islessequal(x,y);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/islessgreater.c b/testsuites/psxtests/psxhdrs/math/islessgreater.c
new file mode 100644
index 0000000000..eb42af1eb6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/islessgreater.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief islessgreater() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 45 , y = 46 ;
+ int result;
+
+ result = islessgreater(x,y);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isnan.c b/testsuites/psxtests/psxhdrs/math/isnan.c
new file mode 100644
index 0000000000..6d819bd0f7
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isnan.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isnan() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 23 ;
+ int result ;
+
+ result = isnan(x) ;
+
+ return ((int)result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isnormal.c b/testsuites/psxtests/psxhdrs/math/isnormal.c
new file mode 100644
index 0000000000..947e47764d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isnormal.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isnormal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.67 ;
+ int result ;
+
+ result = isnormal(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/isunordered.c b/testsuites/psxtests/psxhdrs/math/isunordered.c
new file mode 100644
index 0000000000..b17710b664
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/isunordered.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief isunordered() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 45 , y = 46 ;
+ int result ;
+
+ result = isunordered(x,y) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ldexp.c b/testsuites/psxtests/psxhdrs/math/ldexp.c
new file mode 100644
index 0000000000..1b93401cca
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ldexp.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ldexp() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.67 , result ;
+ int exp = 3 ;
+
+ result = ldexp(x,exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ldexpf.c b/testsuites/psxtests/psxhdrs/math/ldexpf.c
new file mode 100644
index 0000000000..5ee51e5072
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ldexpf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ldexpf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 34.67 , result ;
+ int exp = 3 ;
+
+ result = ldexpf(x,exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ldexpl.c b/testsuites/psxtests/psxhdrs/math/ldexpl.c
new file mode 100644
index 0000000000..eea4180147
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ldexpl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ldexpl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 34.67 , result ;
+ int exp = 3 ;
+
+ result = ldexpl(x,exp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lgamma.c b/testsuites/psxtests/psxhdrs/math/lgamma.c
new file mode 100644
index 0000000000..1cb0e069ae
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lgamma.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief lgamma() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 1 , result ;
+
+ result = lgamma(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lgammaf.c b/testsuites/psxtests/psxhdrs/math/lgammaf.c
new file mode 100644
index 0000000000..de498181e7
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lgammaf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief lgammaf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 1 , result ;
+
+ result = lgammaf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lgammal.c b/testsuites/psxtests/psxhdrs/math/lgammal.c
new file mode 100644
index 0000000000..a2b7167c6b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lgammal.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief lgammal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 1 , result ;
+
+ result = lgammal(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/llrint.c b/testsuites/psxtests/psxhdrs/math/llrint.c
new file mode 100644
index 0000000000..234d87b2f6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llrint.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llrint() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.3456 ;
+ long long int result ;
+
+ result = llrint(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/llrintf.c b/testsuites/psxtests/psxhdrs/math/llrintf.c
new file mode 100644
index 0000000000..171c0c948f
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llrintf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llrintf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
+ #include <math.h>
+
+ int test( void );
+
+ int test( void )
+ {
+ float x = 34.3456 ;
+ long long int result ;
+
+ result = llrintf(x) ;
+
+ return (result);
+ }
diff --git a/testsuites/psxtests/psxhdrs/math/llrintl.c b/testsuites/psxtests/psxhdrs/math/llrintl.c
new file mode 100644
index 0000000000..1be7f997a6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llrintl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llrintl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 34.3456 ;
+ long long int result ;
+
+ result = llrintl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/llround.c b/testsuites/psxtests/psxhdrs/math/llround.c
new file mode 100644
index 0000000000..1909f8f853
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llround.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llround() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.3456 ;
+ long long int result ;
+
+ result = llround(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/llroundf.c b/testsuites/psxtests/psxhdrs/math/llroundf.c
new file mode 100644
index 0000000000..8709089d00
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llroundf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llroundf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 34.3456 ;
+ long long int result ;
+
+ result = llroundf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/llroundl.c b/testsuites/psxtests/psxhdrs/math/llroundl.c
new file mode 100644
index 0000000000..19ac232ef7
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/llroundl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief llroundl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 34.3456 ;
+ long long int result ;
+
+ result = llroundl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log.c b/testsuites/psxtests/psxhdrs/math/log.c
new file mode 100644
index 0000000000..e66719f950
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 3 , result ;
+
+ result = log(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log10.c b/testsuites/psxtests/psxhdrs/math/log10.c
new file mode 100644
index 0000000000..89dfc59b50
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log10.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log10() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
+ #include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 3 , result ;
+
+ result = log10(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log10f.c b/testsuites/psxtests/psxhdrs/math/log10f.c
new file mode 100644
index 0000000000..35b6ded52c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log10f.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log10f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 3 , result ;
+
+ result = log10f(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log10l.c b/testsuites/psxtests/psxhdrs/math/log10l.c
new file mode 100644
index 0000000000..08594d48ec
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log10l.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log10l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 3 , result ;
+
+ result = log10l(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log1p.c b/testsuites/psxtests/psxhdrs/math/log1p.c
new file mode 100644
index 0000000000..5a24db4e41
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log1p.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log1p() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 2 , result ;
+
+ result = log1p(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log1pf.c b/testsuites/psxtests/psxhdrs/math/log1pf.c
new file mode 100644
index 0000000000..2f9616f722
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log1pf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log1pf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2 , result ;
+
+ result = log1pf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log1pl.c b/testsuites/psxtests/psxhdrs/math/log1pl.c
new file mode 100644
index 0000000000..d647b76102
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log1pl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log1pl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 2 , result ;
+
+ result = log1pl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log2.c b/testsuites/psxtests/psxhdrs/math/log2.c
new file mode 100644
index 0000000000..1a33bd6135
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log2.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log2() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4 , result ;
+
+ result = log2(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log2f.c b/testsuites/psxtests/psxhdrs/math/log2f.c
new file mode 100644
index 0000000000..e014b5fe32
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log2f.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log2f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4 , result ;
+
+ result = log2f(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/log2l.c b/testsuites/psxtests/psxhdrs/math/log2l.c
new file mode 100644
index 0000000000..e3fd6dce1a
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/log2l.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief log2l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 4 , result ;
+
+ result = log2l(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/logb.c b/testsuites/psxtests/psxhdrs/math/logb.c
new file mode 100644
index 0000000000..e69c483d15
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/logb.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief logb() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 345.23 , result ;
+
+ result = logb(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/logbf.c b/testsuites/psxtests/psxhdrs/math/logbf.c
new file mode 100644
index 0000000000..b02ba3994d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/logbf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief logbf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 345.23 , result ;
+
+ result = logbf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/logbl.c b/testsuites/psxtests/psxhdrs/math/logbl.c
new file mode 100644
index 0000000000..50c911fa3b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/logbl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief logbl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 345.23 , result ;
+
+ result = logbl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/logf.c b/testsuites/psxtests/psxhdrs/math/logf.c
new file mode 100644
index 0000000000..0ae5299a23
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/logf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief logf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 1 , result ;
+
+ result = logf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/logl.c b/testsuites/psxtests/psxhdrs/math/logl.c
new file mode 100644
index 0000000000..d12a66f10d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/logl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief logl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 3 , result ;
+
+ result = logl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lrint.c b/testsuites/psxtests/psxhdrs/math/lrint.c
new file mode 100644
index 0000000000..a5ae7f98bc
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lrint.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lrint() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.3456 ;
+ long int result ;
+
+ result = lrint(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lrintf.c b/testsuites/psxtests/psxhdrs/math/lrintf.c
new file mode 100644
index 0000000000..344685a88a
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lrintf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lrintf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 34.3456 ;
+ long int result ;
+
+ result = lrintf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lrintl.c b/testsuites/psxtests/psxhdrs/math/lrintl.c
new file mode 100644
index 0000000000..ece13bd7ce
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lrintl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lrintl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 34.3456 ;
+ long int result ;
+
+ result = lrintl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lround.c b/testsuites/psxtests/psxhdrs/math/lround.c
new file mode 100644
index 0000000000..66f9d0e680
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lround.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lround() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 34.3456 ;
+ long int result ;
+
+ result = lround(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lroundf.c b/testsuites/psxtests/psxhdrs/math/lroundf.c
new file mode 100644
index 0000000000..951041ac3d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lroundf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lroundf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 34.3456 ;
+ long int result ;
+
+ result = lroundf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/lroundl.c b/testsuites/psxtests/psxhdrs/math/lroundl.c
new file mode 100644
index 0000000000..9148f37c26
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/lroundl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief lroundl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 34.3456 ;
+ long int result ;
+
+ result = lroundl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/modf.c b/testsuites/psxtests/psxhdrs/math/modf.c
new file mode 100644
index 0000000000..b3bf150d5c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/modf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief modf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4 , result , iptr ;
+
+ result = modf( x , &iptr ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/modff.c b/testsuites/psxtests/psxhdrs/math/modff.c
new file mode 100644
index 0000000000..1df14618fe
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/modff.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief modff() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4 , result , iptr ;
+
+ result = modff( x , &iptr ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/modfl.c b/testsuites/psxtests/psxhdrs/math/modfl.c
new file mode 100644
index 0000000000..2817c10186
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/modfl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief modfl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 4 , result , iptr ;
+
+ result = modfl( x , &iptr ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nan.c b/testsuites/psxtests/psxhdrs/math/nan.c
new file mode 100644
index 0000000000..35d353d410
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nan.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nan() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ const char *tagp = "s" ;
+ double result ;
+
+ result = nan(tagp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nanf.c b/testsuites/psxtests/psxhdrs/math/nanf.c
new file mode 100644
index 0000000000..9347b2237d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nanf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nanf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ const char *tagp = "s" ;
+ float result ;
+
+ result = nanf(tagp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nanl.c b/testsuites/psxtests/psxhdrs/math/nanl.c
new file mode 100644
index 0000000000..cffad7bdd2
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nanl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nanl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ const char *tagp = "s" ;
+ long double result ;
+
+ result = nanl(tagp) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nearbyint.c b/testsuites/psxtests/psxhdrs/math/nearbyint.c
new file mode 100644
index 0000000000..74b0ba5bd4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nearbyint.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nearbyint() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4.643456 , result ;
+
+ result = nearbyint( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nearbyintf.c b/testsuites/psxtests/psxhdrs/math/nearbyintf.c
new file mode 100644
index 0000000000..7660b23dac
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nearbyintf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nearbyintf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4.643456 , result ;
+
+ result = nearbyintf( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nearbyintl.c b/testsuites/psxtests/psxhdrs/math/nearbyintl.c
new file mode 100644
index 0000000000..ec63387672
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nearbyintl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nearbyintl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 4.643456 , result ;
+
+ result = nearbyintl( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nextafter.c b/testsuites/psxtests/psxhdrs/math/nextafter.c
new file mode 100644
index 0000000000..ae9ed3addc
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nextafter.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nextafter() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 50 , y = 100 , result ;
+
+ result = nextafter( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nextafterf.c b/testsuites/psxtests/psxhdrs/math/nextafterf.c
new file mode 100644
index 0000000000..39d784debb
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nextafterf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nextafterf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 50 , y = 100 , result ;
+
+ result = nextafterf( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nextafterl.c b/testsuites/psxtests/psxhdrs/math/nextafterl.c
new file mode 100644
index 0000000000..cef8688aa6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nextafterl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief nextafterl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 50 , y = 100 , result ;
+
+ result = nextafterl( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nexttoward.c b/testsuites/psxtests/psxhdrs/math/nexttoward.c
new file mode 100644
index 0000000000..27b16cf2b6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nexttoward.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nexttoward() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 50 , result ;
+ long double y = 100 ;
+
+ result = nexttoward( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nexttowardf.c b/testsuites/psxtests/psxhdrs/math/nexttowardf.c
new file mode 100644
index 0000000000..eccb91689e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nexttowardf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nexttowardf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 50 , result ;
+ long double y = 100 ;
+
+ result = nexttowardf( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/nexttowardl.c b/testsuites/psxtests/psxhdrs/math/nexttowardl.c
new file mode 100644
index 0000000000..4f96c703d7
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/nexttowardl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief nexttowardl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 50 , result ;
+ long double y = 100 ;
+
+ result = nexttowardl( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/pow.c b/testsuites/psxtests/psxhdrs/math/pow.c
new file mode 100644
index 0000000000..b6b1ed0b86
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/pow.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief pow() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 50 , y = 3 , result ;
+
+ result = pow( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/powf.c b/testsuites/psxtests/psxhdrs/math/powf.c
new file mode 100644
index 0000000000..0b1cc5d817
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/powf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief powf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2.4 , y = 3 , result ;
+
+ result = powf( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/powl.c b/testsuites/psxtests/psxhdrs/math/powl.c
new file mode 100644
index 0000000000..d6efa454c4
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/powl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief powl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 50 , y = 5 , result ;
+
+ result = powl( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remainder.c b/testsuites/psxtests/psxhdrs/math/remainder.c
new file mode 100644
index 0000000000..ddf4f4760d
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remainder.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief remainder() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 100 , y = 23 , result ;
+
+ result = remainder( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remainderf.c b/testsuites/psxtests/psxhdrs/math/remainderf.c
new file mode 100644
index 0000000000..59ef945b31
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remainderf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief remainderf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 100 , y = 23 , result ;
+
+ result = remainderf( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remainderl.c b/testsuites/psxtests/psxhdrs/math/remainderl.c
new file mode 100644
index 0000000000..7076eb9664
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remainderl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief remainderl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 100 , y = 23 , result ;
+
+ result = remainderl( x , y ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remquo.c b/testsuites/psxtests/psxhdrs/math/remquo.c
new file mode 100644
index 0000000000..0ed9f08f00
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remquo.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief remquo() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 100 , y = 23 , result ;
+ int quo ;
+
+ result = remquo( x , y , &quo ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remquof.c b/testsuites/psxtests/psxhdrs/math/remquof.c
new file mode 100644
index 0000000000..0994816fe6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remquof.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief remquof() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 100 , y = 23 , result ;
+ int quo ;
+
+ result = remquof( x , y , &quo ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/remquol.c b/testsuites/psxtests/psxhdrs/math/remquol.c
new file mode 100644
index 0000000000..a46e49e545
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/remquol.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief remquol() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 100 , y = 23 , result ;
+ int quo ;
+
+ result = remquol( x , y , &quo ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/rint.c b/testsuites/psxtests/psxhdrs/math/rint.c
new file mode 100644
index 0000000000..cc43406815
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/rint.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief rint() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4.643456 , result ;
+
+ result = rint( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/rintf.c b/testsuites/psxtests/psxhdrs/math/rintf.c
new file mode 100644
index 0000000000..878aa8a42b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/rintf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief rintf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4.643456 , result ;
+
+ result = rintf( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/rintl.c b/testsuites/psxtests/psxhdrs/math/rintl.c
new file mode 100644
index 0000000000..c851deee39
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/rintl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief rintl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 4.643456 , result ;
+
+ result = rintl( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/round.c b/testsuites/psxtests/psxhdrs/math/round.c
new file mode 100644
index 0000000000..3bd1842d6e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/round.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief round() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 4.553456 , result ;
+
+ result = round( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/roundf.c b/testsuites/psxtests/psxhdrs/math/roundf.c
new file mode 100644
index 0000000000..e6d1d6bfe7
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/roundf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief roundf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 4.553456 , result ;
+
+ result = roundf( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/roundl.c b/testsuites/psxtests/psxhdrs/math/roundl.c
new file mode 100644
index 0000000000..1003e63c58
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/roundl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief roundl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 4.553456 , result ;
+
+ result = roundl( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalbln.c b/testsuites/psxtests/psxhdrs/math/scalbln.c
new file mode 100644
index 0000000000..ba7cef59d1
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalbln.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalbln() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 100 , result ;
+ long int exp = 2 ;
+
+ result = scalbln( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalblnf.c b/testsuites/psxtests/psxhdrs/math/scalblnf.c
new file mode 100644
index 0000000000..2d0e47957c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalblnf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalblnf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 100 , result ;
+ long int exp = 2 ;
+
+ result = scalblnf( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalblnl.c b/testsuites/psxtests/psxhdrs/math/scalblnl.c
new file mode 100644
index 0000000000..271a0701c9
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalblnl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalblnl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 100 , result ;
+ long int exp = 2 ;
+
+ result = scalblnl( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalbn.c b/testsuites/psxtests/psxhdrs/math/scalbn.c
new file mode 100644
index 0000000000..c4136fbe80
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalbn.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalbn() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 100 , result ;
+ int exp = 2 ;
+
+ result = scalbn( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalbnf.c b/testsuites/psxtests/psxhdrs/math/scalbnf.c
new file mode 100644
index 0000000000..e4279f7548
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalbnf.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalbnf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 100 , result ;
+ int exp = 2 ;
+
+ result = scalbnf( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/scalbnl.c b/testsuites/psxtests/psxhdrs/math/scalbnl.c
new file mode 100644
index 0000000000..14ea1d2096
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/scalbnl.c
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @brief scalbnl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+#include <float.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 100 , result ;
+ int exp = 2 ;
+
+ result = scalbnl( x , exp ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/signbit.c b/testsuites/psxtests/psxhdrs/math/signbit.c
new file mode 100644
index 0000000000..e9491c3ebd
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/signbit.c
@@ -0,0 +1,35 @@
+/**
+ * @file
+ * @brief signbit() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ int result = signbit(-4.0);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sin.c b/testsuites/psxtests/psxhdrs/math/sin.c
new file mode 100644
index 0000000000..b2d0f22765
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sin.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief sin() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 90 ;
+ double result;
+
+ result = sin(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sinf.c b/testsuites/psxtests/psxhdrs/math/sinf.c
new file mode 100644
index 0000000000..5a6a790b92
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sinf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief sinf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 27.67 ;
+ float result;
+
+ result = sinf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sinh.c b/testsuites/psxtests/psxhdrs/math/sinh.c
new file mode 100644
index 0000000000..239bddbb12
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sinh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief sinh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 20 ;
+ double result;
+
+ result = sinh(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sinhf.c b/testsuites/psxtests/psxhdrs/math/sinhf.c
new file mode 100644
index 0000000000..50f667b0b2
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sinhf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief sinhf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 20.78 ;
+ float result;
+
+ result = sinhf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sinhl.c b/testsuites/psxtests/psxhdrs/math/sinhl.c
new file mode 100644
index 0000000000..7418b8cfdc
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sinhl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief coshl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 20.78 ;
+ long double result;
+
+ result = sinhl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sinl.c b/testsuites/psxtests/psxhdrs/math/sinl.c
new file mode 100644
index 0000000000..47dbfb691b
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sinl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief sinl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 45 ;
+ long double result;
+
+ result = sinl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sqrt.c b/testsuites/psxtests/psxhdrs/math/sqrt.c
new file mode 100644
index 0000000000..cb22bb8ad6
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sqrt.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief sqrt() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 100 , result ;
+
+ result = sqrt( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sqrtf.c b/testsuites/psxtests/psxhdrs/math/sqrtf.c
new file mode 100644
index 0000000000..1b9b341334
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sqrtf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief sqrtf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 100 , result ;
+
+ result = sqrtf( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/sqrtl.c b/testsuites/psxtests/psxhdrs/math/sqrtl.c
new file mode 100644
index 0000000000..f8e6907860
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/sqrtl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief sqrtl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 100 , result ;
+
+ result = sqrtl( x ) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tan.c b/testsuites/psxtests/psxhdrs/math/tan.c
new file mode 100644
index 0000000000..39d1bbecbe
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tan.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief tan() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 45 ;
+ double result;
+
+ result = tan(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tanf.c b/testsuites/psxtests/psxhdrs/math/tanf.c
new file mode 100644
index 0000000000..53ab4c279c
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tanf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tanf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 45 , result ;
+
+ result = tanf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tanh.c b/testsuites/psxtests/psxhdrs/math/tanh.c
new file mode 100644
index 0000000000..88d4ef97a5
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tanh.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief tanh() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 45 ;
+ double result;
+
+ result = tanh(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tanhf.c b/testsuites/psxtests/psxhdrs/math/tanhf.c
new file mode 100644
index 0000000000..e6e4ced151
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tanhf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tanhf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 45 , result ;
+
+ result = tanhf(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tanhl.c b/testsuites/psxtests/psxhdrs/math/tanhl.c
new file mode 100644
index 0000000000..ff3dca00e8
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tanhl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief tanhl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 45 ;
+ long double result;
+
+ result = tanhl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tanl.c b/testsuites/psxtests/psxhdrs/math/tanl.c
new file mode 100644
index 0000000000..1b1a27c220
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tanl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tanl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 45 , result ;
+
+ result = tanl(x) ;
+
+ return (result) ;
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tgamma.c b/testsuites/psxtests/psxhdrs/math/tgamma.c
new file mode 100644
index 0000000000..160334a937
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tgamma.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tgamma() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 2 , result ;
+
+ result = tgamma(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tgammaf.c b/testsuites/psxtests/psxhdrs/math/tgammaf.c
new file mode 100644
index 0000000000..f950aa8c80
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tgammaf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tgammaf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 2 , result ;
+
+ result = tgammaf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/tgammal.c b/testsuites/psxtests/psxhdrs/math/tgammal.c
new file mode 100644
index 0000000000..945a702d45
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/tgammal.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief tgammal() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 2 , result ;
+
+ result = tgammal(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/trunc.c b/testsuites/psxtests/psxhdrs/math/trunc.c
new file mode 100644
index 0000000000..243e3abeff
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/trunc.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief trunc() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x = 56.7 , result ;
+
+ result = trunc(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/truncf.c b/testsuites/psxtests/psxhdrs/math/truncf.c
new file mode 100644
index 0000000000..88667a0f91
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/truncf.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief truncf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x = 56.7 , result ;
+
+ result = truncf(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/truncl.c b/testsuites/psxtests/psxhdrs/math/truncl.c
new file mode 100644
index 0000000000..009b448b61
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/truncl.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief truncl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x = 56.7 , result ;
+
+ result = truncl(x) ;
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y0.c b/testsuites/psxtests/psxhdrs/math/y0.c
new file mode 100644
index 0000000000..6ec15201ec
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y0.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief y0() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=45 , result;
+
+ result = y0(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y0f.c b/testsuites/psxtests/psxhdrs/math/y0f.c
new file mode 100644
index 0000000000..3195586072
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y0f.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief y0f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45 , result;
+
+ result = y0f(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y0l.c b/testsuites/psxtests/psxhdrs/math/y0l.c
new file mode 100644
index 0000000000..98cb312962
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y0l.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief y0l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#define _POSIX_C_SOURCE 200809L
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x=45 , result;
+
+ result = y0l(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y1.c b/testsuites/psxtests/psxhdrs/math/y1.c
new file mode 100644
index 0000000000..0c07fb246e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y1.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief y1() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#define _XOPEN_SOURCE 500
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=45 , result;
+
+ result = y1(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y1f.c b/testsuites/psxtests/psxhdrs/math/y1f.c
new file mode 100644
index 0000000000..7ae15ba25e
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y1f.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * @brief y1f() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45 , result;
+
+ result = y1f(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/y1l.c b/testsuites/psxtests/psxhdrs/math/y1l.c
new file mode 100644
index 0000000000..8145799f52
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/y1l.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief y1l() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#define _POSIX_C_SOURCE 200809L
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x=45 , result;
+
+ result = y1l(x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/yn.c b/testsuites/psxtests/psxhdrs/math/yn.c
new file mode 100644
index 0000000000..a43a2d3d70
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/yn.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief yn() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ double x=45 , result ;
+ int n = 3 ;
+
+ result = yn(n,x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ynf.c b/testsuites/psxtests/psxhdrs/math/ynf.c
new file mode 100644
index 0000000000..1e2ee67449
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ynf.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ynf() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ float x=45 , result ;
+ int n = 3 ;
+
+ result = ynf(n,x);
+
+ return (result);
+}
diff --git a/testsuites/psxtests/psxhdrs/math/ynl.c b/testsuites/psxtests/psxhdrs/math/ynl.c
new file mode 100644
index 0000000000..b225faece0
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/math/ynl.c
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * @brief ynl() API Conformance Test
+ */
+
+ /*
+ * COPYRIGHT (c) 2018.
+ * Shashvat Jain
+ *
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <math.h>
+
+int test( void );
+
+int test( void )
+{
+ long double x=45 , result ;
+ int n = 3 ;
+
+ result = ynl(n,x);
+
+ return (result);
+}