]> pd.if.org Git - pdclib/commitdiff
Introducing personalities. Removing C++ function decs / defs.
authorsolar <unknown>
Wed, 3 Dec 2003 16:40:57 +0000 (16:40 +0000)
committersolar <unknown>
Wed, 3 Dec 2003 16:40:57 +0000 (16:40 +0000)
87 files changed:
functions/complex/cabs.c
functions/complex/cacos.c
functions/complex/cacosh.c
functions/complex/carg.c
functions/complex/casin.c
functions/complex/casinh.c
functions/complex/catan.c
functions/complex/catanh.c
functions/complex/cconj.c
functions/complex/ccos.c
functions/complex/ccosh.c
functions/complex/cexp.c
functions/complex/cimag.c
functions/complex/clog.c
functions/complex/cpow.c
functions/complex/cproj.c
functions/complex/creal.c
functions/complex/csin.c
functions/complex/csinh.c
functions/complex/csqrt.c
functions/complex/ctan.c
functions/complex/ctanh.c
functions/inttypes.c
functions/math/abs.c
functions/math/acos.c
functions/math/acosh.c
functions/math/asin.c
functions/math/asinh.c
functions/math/atan.c
functions/math/atan2.c
functions/math/atanh.c
functions/math/cbrt.c
functions/math/ceil.c
functions/math/copysign.c
functions/math/cos.c
functions/math/cosh.c
functions/math/erf.c
functions/math/exp.c
functions/math/fdim.c
functions/math/floor.c
functions/math/fma.c
functions/math/fmax.c
functions/math/fmin.c
functions/math/fpclassify.c [deleted file]
functions/math/gamma.c
functions/math/hypot.c
functions/math/isfinite.c [deleted file]
functions/math/isgreater.c [deleted file]
functions/math/isgreaterequal.c [deleted file]
functions/math/isinf.c [deleted file]
functions/math/isless.c [deleted file]
functions/math/islessequal.c [deleted file]
functions/math/islessgreater.c [deleted file]
functions/math/isnan.c [deleted file]
functions/math/isnormal.c [deleted file]
functions/math/isunordered.c [deleted file]
functions/math/log.c
functions/math/mod.c
functions/math/nearbyint.c
functions/math/nextafter.c
functions/math/nexttoward.c
functions/math/pow.c
functions/math/remainder.c
functions/math/remquo.c
functions/math/rint.c
functions/math/round.c
functions/math/scalbn.c
functions/math/signbit.c [deleted file]
functions/math/sin.c
functions/math/sinh.c
functions/math/sqrt.c
functions/math/tan.c
functions/math/tanh.c
functions/math/trunc.c
includes/complex.h
includes/inttypes.h
includes/iso646.h
includes/math.h
includes/stdlib.h
includes/string.h
includes/tgmath.h
includes/wchar.h
personalities/__personality.h [new file with mode: 0644]
personalities/float.h [moved from includes/float.h with 100% similarity]
personalities/limits.h [moved from includes/limits.h with 100% similarity]
personalities/stdint.h [moved from includes/stdint.h with 100% similarity]
personality.txt [new file with mode: 0644]

index a471fda11feba5752540d85123049229d0cf2bee..e1afe402e94737f5c0a006e74228e72cd0d0744e 100644 (file)
@@ -5,19 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double abs( double _Complex x ) { /* TODO */ };
-float abs( float _Complex x ) { /* TODO */ };
-long double abs( long double _Complex x ) { /* TODO */ };
-double fabs( double _Complex x ) { /* TODO */ };
-float fabs( float _Complex x ) { /* TODO */ };
-long double fabs( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double cabs( double _Complex x ) { /* TODO */ };
 float cabsf( float _Complex x ) { /* TODO */ };
 long double cabsl( long double _Complex x ) { /* TODO */ };
index 0ec47aff217ef22386c0ebf0d8cc9371fc626c93..cfa5a882b3b9e01f1e1c1081d45479cd840118f9 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex acos( double _Complex x ) { /* TODO */ };
-float _Complex acos( float _Complex x ) { /* TODO */ };
-long double _Complex acos( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex cacos( double _Complex x ) { /* TODO */ };
 float _Complex cacosf( float _Complex x ) { /* TODO */ };
 long double _Complex cacosl( long double _Complex x ) { /* TODO */ };
index 53ef8a17e72ef9ea16e77b09ef6fdd9237b20791..61a27d74fc5fdfdf1623b7c161ca94111b5214ab 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex acosh( double _Complex x ) { /* TODO */ };
-float _Complex acosh( float _Complex x ) { /* TODO */ };
-long double _Complex acosh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex cacosh( double _Complex x ) { /* TODO */ };
 float _Complex cacoshf( float _Complex x ) { /* TODO */ };
 long double _Complex cacoshl( long double _Complex x ) { /* TODO */ };
index b4160dd7aa5ad1b11cbe4db5b1c246e47f3fb3bd..a338cd062be6a5668382e61c329d54a40187a39b 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double arg( double _Complex x ) { /* TODO */ };
-float arg( float _Complex x ) { /* TODO */ };
-long double arg( long double _Complex x ) { /* TODO */ };
-float carg( float _Complex x ) { /* TODO */ };
-long double carg( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double carg( double _Complex x ) { /* TODO */ };
 float cargf( float _Complex x ) { /* TODO */ };
 long double cargl( long double _Complex x ) { /* TODO */ };
index 3b6cd540369684178e0405036f2ba5bd095226bf..9ac4d753400c5ebfc0c70d0b80dbb1dff9f96ab5 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex asin( double _Complex x ) { /* TODO */ };
-float _Complex asin( float _Complex x ) { /* TODO */ };
-long double _Complex asin( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex casin( double _Complex x ) { /* TODO */ };
 float _Complex casinf( float _Complex x ) { /* TODO */ };
 long double _Complex casinl( long double _Complex x ) { /* TODO */ };
index 762b0254ec1469d1adc012405a137218540d96e8..763bce76ce296ecb99422da3d1fae09904cf659f 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex asinh( double _Complex x ) { /* TODO */ };
-float _Complex asinh( float _Complex x ) { /* TODO */ };
-long double _Complex asinh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex casinh( double _Complex x ) { /* TODO */ };
 float _Complex casinhf( float _Complex x ) { /* TODO */ };
 long double _Complex casinhl( long double _Complex x ) { /* TODO */ };
index 310e6fdb4fed306e2655489e9a3eb0b1621d7c0d..c5854bd3cae573b8766986cce62bc29347af3e5d 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex atan( double _Complex x ) { /* TODO */ };
-float _Complex atan( float _Complex x ) { /* TODO */ };
-long double _Complex atan( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex catan( double _Complex x ) { /* TODO */ };
 float _Complex catanf( float _Complex x ) { /* TODO */ };
 long double _Complex catanl( long double _Complex x ) { /* TODO */ };
index 692a996790470ac3a90ae299231cbbf4dcdf1760..1288262713b00fa3e2ae692a53f6a6051ff0f56c 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex atanh( double _Complex x ) { /* TODO */ };
-float _Complex atanh( float _Complex x ) { /* TODO */ };
-long double _Complex atanh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex catanh( double _Complex x ) { /* TODO */ };
 float _Complex catanhf( float _Complex x ) { /* TODO */ };
 long double _Complex catanhl( long double _Complex x ) { /* TODO */ };
index c9946eec13fd91cf27c26b154857089a9dd50e17..7e4d1f862332de5e727dc033eab84622c90795ad 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float _Complex conj( float _Complex x ) { /* TODO */ };
-long double _Complex conj( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex conj( double _Complex x ) { /* TODO */ };
 float _Complex conjf( float _Complex x ) { /* TODO */ };
 long double _Complex conjl( long double _Complex x ) { /* TODO */ };
index b7b22ac89516e6cfa2b8cd04a78009a767688f41..0a61fd2a27b49b0759b7b55021fe5f73de84642b 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex cos( double _Complex x ) { /* TODO */ };
-float _Complex cos( float _Complex x ) { /* TODO */ };
-long double _Complex cos( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex ccos( double _Complex x ) { /* TODO */ };
 float _Complex ccosf( float _Complex x ) { /* TODO */ };
 long double _Complex ccosl( long double _Complex x ) { /* TODO */ };
index 66bb47b0121b0e374a8bd66901e0c138e10e4847..5503333f57a7270198b9770f10ccbf4543849d4d 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex cosh( double _Complex x ) { /* TODO */ };
-float _Complex cosh( float _Complex x ) { /* TODO */ };
-long double _Complex cosh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex ccosh( double _Complex x ) { /* TODO */ };
 float _Complex ccoshf( float _Complex x ) { /* TODO */ };
 long double _Complex ccoshl( long double _Complex x ) { /* TODO */ };
index ed1ee13827245fbbf69e505213513cea1183db04..acfcb2792e636534ecff4833f3ffd460d075d8c8 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex exp( double _Complex x ) { /* TODO */ };
-float _Complex exp( float _Complex x ) { /* TODO */ };
-long double _Complex exp( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex cexp( double _Complex x ) { /* TODO */ };
 float _Complex cexpf( float _Complex x ) { /* TODO */ };
 long double _Complex cexpl( long double _Complex x ) { /* TODO */ };
index b601a4ceb4aac04b12295f18d88dabbb638646a0..018fd2663d76047f345112072e0bc0ba379c5818 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double imag( double _Complex x ) { /* TODO */ };
-float imag( float _Complex x ) { /* TODO */ };
-long double imag( long double _Complex x ) { /* TODO */ };
-float cimag( float _Complex x ) { /* TODO */ };
-long double cimag( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double cimag( double _Complex x ) { /* TODO */ };
 float cimagf( float _Complex x ) { /* TODO */ };
 long double cimagl( long double _Complex x ) { /* TODO */ };
index 74c6e9c943b3c7acec3f8ed1cc1813a09c5bf36a..94bea7d785b134e56225a7286bc62530defb2520 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex log( double _Complex x ) { /* TODO */ };
-float _Complex log( float _Complex x ) { /* TODO */ };
-long double _Complex log( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex clog( double _Complex x ) { /* TODO */ };
 float _Complex clogf( float _Complex x ) { /* TODO */ };
 long double _Complex clogl( long double _Complex x ) { /* TODO */ };
index 54089dfcfe2fefe0f241a033676a59ceb5f6eed2..59753671363c14071db79549604c599ac3b340f4 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex pow( double _Complex x, double _Complex y ) { /* TODO */ };
-float _Complex pow( float _Complex x, float _Complex y ) { /* TODO */ };
-long double _Complex pow( long double _Complex x, long double _Complex y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex cpow( double _Complex x, double _Complex y ) { /* TODO */ };
 float _Complex cpowf( float _Complex x, float _Complex y ) { /* TODO */ };
 long double _Complex cpowl( long double _Complex x, long double _Complex y ) { /* TODO */ };
index 61b85bf27d1661d3d5774f3530fa80b82dbece03..fc811d65e79c0c23a70b061585bca3c42a2517e0 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float _Complex cproj( float _Complex x ) { /* TODO */ };
-long double _Complex cproj( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex cproj( double _Complex x ) { /* TODO */ };
 float _Complex cprojf( float _Complex x ) { /* TODO */ };
 long double _Complex cprojl( long double _Complex x ) { /* TODO */ };
index dae0f03e10447ee326692b2c23b09424e2798f4b..4c02e35228d77fde93f00425827e9d02d2133390 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double real( double _Complex x ) { /* TODO */ };
-float real( float _Complex x ) { /* TODO */ };
-long double real( long double _Complex x ) { /* TODO */ };
-float creal( float _Complex x ) { /* TODO */ };
-long double creal( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double creal( double _Complex x ) { /* TODO */ };
 float crealf( float _Complex x ) { /* TODO */ };
 long double creall( long double _Complex x ) { /* TODO */ };
index 7a5fe573d07c8793686b68725fb8280b7acbbb15..edc45aa9690ff78ac5eb92351070324505518f33 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex sin( double _Complex x ) { /* TODO */ };
-float _Complex sin( float _Complex x ) { /* TODO */ };
-long double _Complex sin( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex csin( double _Complex x ) { /* TODO */ };
 float _Complex csinf( float _Complex x ) { /* TODO */ };
 long double _Complex csinl( long double _Complex x ) { /* TODO */ };
index eb92e85ed5d1eac648f1cb98a2c7bb21ee99e86a..a40c2ff72f273c6ed4e15a1667f6ebac225145ff 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex sinh( double _Complex x ) { /* TODO */ };
-float _Complex sinh( float _Complex x ) { /* TODO */ };
-long double _Complex sinh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex csinh( double _Complex x ) { /* TODO */ };
 float _Complex csinhf( float _Complex x ) { /* TODO */ };
 long double _Complex csinhl( long double _Complex x ) { /* TODO */ };
index 6ac90b13fd80269bd27f7b62d3d343d201647cfa..af119b546a8ca95ab3f48a149081b4256b2c73f4 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex sqrt( double _Complex x ) { /* TODO */ };
-float _Complex sqrt( float _Complex x ) { /* TODO */ };
-long double _Complex sqrt( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex csqrt( double _Complex x ) { /* TODO */ };
 float _Complex csqrtf( float _Complex x ) { /* TODO */ };
 long double _Complex csqrtl( long double _Complex x ) { /* TODO */ };
index d735cb8e06daf23f7b42231be7d21a2a3605ba3e..12896f2139f53eb1ed706aad41ef741864e13c04 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex tan( double _Complex x ) { /* TODO */ };
-float _Complex tan( float _Complex x ) { /* TODO */ };
-long double _Complex tan( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex ctan( double _Complex x ) { /* TODO */ };
 float _Complex ctanf( float _Complex x ) { /* TODO */ };
 long double _Complex ctanl( long double _Complex x ) { /* TODO */ };
index 344dd22cd8b6ab324652d3a0992647d7092731d6..daa5a7cde143102698e3f1788a3ad214861c9253 100644 (file)
@@ -5,16 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double _Complex tanh( double _Complex x ) { /* TODO */ };
-float _Complex tanh( float _Complex x ) { /* TODO */ };
-long double _Complex tanh( long double _Complex x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double _Complex ctanh( double _Complex x ) { /* TODO */ };
 float _Complex ctanhf( float _Complex x ) { /* TODO */ };
 long double _Complex ctanhl( long double _Complex x ) { /* TODO */ };
index d815cca26d2d6367e862699d0a983050d7e9bb7c..6025be3aed808c0203093a44f9781a65537e352f 100644 (file)
@@ -5,12 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-intmax_t abs( intmax_t i ) { /* TODO */ };
-imaxdiv_t div( intmax_t numer, intmax_t denom ) { /* TODO */ };
-
 // ----------------------------------------------------------------------------
 // Standard C
 
index bba8e7e718d1027bc4f2c15c7b7ea89dde461bd0..c45527824c8ee66b07138e9972ee388f4514534b 100644 (file)
@@ -5,21 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-double abs( double x ) { /* TODO */ };
-float abs( float x ) { /* TODO */ };
-long double abs( long double x ) { /* TODO */ };
-float fabs( float x ) { /* TODO */ };
-long double fabs( long double x ) { /* TODO */ };
-
-long abs( long i ) { /* TODO */ };
-long long abs( long long i ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fabs( double x ) { /* TODO */ };
 
 /* Therx code
index 652fd4393ec737bc4248baa2fbf38f37afa55fd4..fcb28bc2232d1841b6b1c54405df022616461351 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float acos( float x ) { /* TODO */ };
-long double acos( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double acos( double x ) { /* TODO */ };
 float acosf( float x ) { /* TODO */ };
 long double acosl( long double x ) { /* TODO */ };
index 2cebe41e791101c18688770d89e7c385749e7ace..81cd66b3154f106feefdc2f3d2ddf917a83076b8 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float acosh( float x ) { /* TODO */ };
-long double acosh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double acosh( double x ) { /* TODO */ };
 float acoshf( float x ) { /* TODO */ };
 long double acoshl( long double x ) { /* TODO */ };
index a0de74849b7aa3959e4ad773b122c8a8c45c6653..3f2a9921444250bb0b5ee4eb8322034808abe9df 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float asin( float x ) { /* TODO */ };
-long double asin( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double asin( double x ) { /* TODO */ };
 float asinf( float x ) { /* TODO */ };
 long double asinl( long double x ) { /* TODO */ };
index 9da4a4b8b2c78cbeb1c479473397adeb6d4cf3b0..7c0cfd64d6a99ab467b2895ad2c5b1b95a53bf13 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float asinh( float x ) { /* TODO */ };
-long double asinh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double asinh( double x ) { /* TODO */ };
 float asinhf( float x ) { /* TODO */ };
 long double asinhl( long double x ) { /* TODO */ };
index 228c9397d069a06845228f061ea2fa6359b7c6ce..adb0a1665e245d3e1505df9e6b0125e064a8f533 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float atan( float x ) { /* TODO */ };
-long double atan( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double atan( double x ) { /* TODO */ };
 float atanf( float x ) { /* TODO */ };
 long double atanl( long double x ) { /* TODO */ };
index 540f7ea645c3c0b7fcfc25e57fe7a916a427f8c3..29ebc6f6d53eeeac8a03e9e6d4951afa8811d4c6 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float atan2( float y, float x ) { /* TODO */ };
-long double atan2( long double y, long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double atan2( double y, double x ) { /* TODO */ };
 float atan2f( float y, float x ) { /* TODO */ };
 long double atan2l( long double y, long double x ) { /* TODO */ };
index e0d7d342ae603b3c557a56a8c9766e5f93876d9b..1dedd93ca565e9f653decf6cff8b98ba9b592f12 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float atanh( float x ) { /* TODO */ };
-long double atanh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double atanh( double x ) { /* TODO */ };
 float atanhf( float x ) { /* TODO */ };
 long double atanhl( long double x ) { /* TODO */ };
index 86ef6906314ebf8cdac7f38ad747e2e1a90db5ce..64185aa037036737f3ea66b7838fec76044ff2fb 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float cbrt( float x ) { /* TODO */ };
-long double cbrt( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double cbrt( double x ) { /* TODO */ };
 
 /* Therx code
index d1ebdeeee0ca412218f1a6bf0ee90f77739fc685..c5e6f95000ffbe18b2b7151ccc798be19c981205 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float ceil( float x ) { /* TODO */ };
-long double ceil( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double ceil( double x ) { /* TODO */ };
 
 /* Therx code
index 7df32ce3d6a7c2149ef31679673ecf13dfa1ebe8..61e13dd2f45b4eef9d913f027c2ff7b2daa9a817 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float copysign( float x, float y ) { /* TODO */ };
-long double copysign( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double copysign( double x, double y ) { /* TODO */ };
 
 /* Own code
index 3e3ce0d72d2c696d192e5cb39ab5fe8ef61a1ad6..7fd85428ec0d7160241e3997fda481583264e1c0 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float cos( float x ) { /* TODO */ };
-long double cos( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double cos( double x ) { /* TODO */ };
 float cosf( float x ) { /* TODO */ };
 long double cosl( long double x ) { /* TODO */ };
index 45248202a9ca735290017581e5e4e29ae8929bcb..09e22239abb6651aea9ffb675ec390b6ec044b54 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float cosh( float x ) { /* TODO */ };
-long double cosh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double cosh( double x ) { /* TODO */ };
 float coshf( float x ) { /* TODO */ };
 long double coshl( long double x ) { /* TODO */ };
index e73a09d276e347cea522e0cde15de95bc5787a8a..f6227e3bffe955953dc33614ec2620ba6aa56ecb 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float erf( float x ) { /* TODO */ };
-long double erf( long double x ) { /* TODO */ };
-
-float erfc( float x ) { /* TODO */ };
-long double erfc( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double erf( double x ) { /* TODO */ };
 float erff( float x ) { /* TODO */ };
 long double erfl( long double x ) { /* TODO */ };
index f0985cd09eacec90d60e85647c9fc8e26821c0e0..7bf8ce38c4231d580bc2756bc839d2ee5d8a2af6 100644 (file)
@@ -5,27 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float exp( float x ) { /* TODO */ };
-long double exp( long double x ) { /* TODO */ };
-
-float exp2( float x ) { /* TODO */ };
-long double exp2( long double x ) { /* TODO */ };
-
-float expm1( float x ) { /* TODO */ };
-long double expm1( long double x ) { /* TODO */ };
-
-float frexp( float x, int * exponent ) { /* TODO */ };
-long double frexp( long double x, int * exponent ) { /* TODO */ };
-
-float ldexp( float x, int exponent ) { /* TODO */ };
-long double ldexp( long double x, int exponent ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double exp( double x ) { /* TODO */ };
 float expf( float x ) { /* TODO */ };
 long double expl( long double x ) { /* TODO */ };
index 9a005796f828ee09a8b57d2abd3d818e7499f0c1..f87d1cc0f3ff9533f547a3289e8ed67544698015 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float fdim( float x, float y ) { /* TODO */ };
-long double fdim( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fdim( double x, double y ) { /* TODO */ };
 
 /* Therx code
index a286149681dd8cf304e4891505743cd5d4a53676..ea890bea1ec08bb9b1e21f39eb58c20e9f9de775 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float floor( float x ) { /* TODO */ };
-long double floor( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double floor( double x ) { /* TODO */ };
 
 /* Therx code
index 873dec104f45a5ca05dbacffccdc74d853ef424b..31eff28f68bfd8e4db82895f313f3ff36f5b9efc 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float fma( float x, float y, float z ) { /* TODO */ };
-long double fma( long double x, long double y, long double z ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fma( double x, double y, double z ) { /* TODO */ };
 
 /* Therx code
index 42856c5863b281e19fcab449bcbd10835c1a1902..6bc8e6ca4d0c8cffe18f4256f0e1c83174871165 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float fmax( float x, float y ) { /* TODO */ };
-long double fmax( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fmax( double x, double y ) { /* TODO */ };
 
 /* Therx code
index 62ff17a2c65beef38742f69c7a11f5b2783d6b1c..22ea9622abddfc367fc73e139c986a0fb4029a7c 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float fmin( float x, float y ) { /* TODO */ };
-long double fmin( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fmin( double x, double y ) { /* TODO */ };
 
 /* Therx code
diff --git a/functions/math/fpclassify.c b/functions/math/fpclassify.c
deleted file mode 100644 (file)
index e9ac003..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-int fpclassify( float x ) { /* TODO */ };
-int fpclassify( double x ) { /* TODO */ };
-int fpclassify( long double x ) { /* TODO */ };
index 1f032db90d7abba7f3b413d1fa0b9245ef94cb75..7720efaa13c6742ae3ac54e33b56e1c92ed54d0a 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float lgamma( float x ) { /* TODO */ };
-long double lgamma( long double x ) { /* TODO */ };
-
-float tgamma( float x ) { /* TODO */ };
-long double tgamma( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double lgamma( double x ) { /* TODO */ };
 float lgammaf( float x ) { /* TODO */ };
 long double lgammal( long double x ) { /* TODO */ };
index 060f3ce2ca86aefec3f0ab8f59985dee3ef613fe..b4412aa3bfccd11845278ff5f599113549565bea 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float hypot( float x, float y ) { /* TODO */ };
-long double hypot( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double hypot( double x, double y ) { /* TODO */ };
 
 /* Therx code
diff --git a/functions/math/isfinite.c b/functions/math/isfinite.c
deleted file mode 100644 (file)
index d9f0a6c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isfinite( float x ) { /* TODO */ };
-bool isfinite( double x ) { /* TODO */ };
-bool isfinite( long double x ) { /* TODO */ };
diff --git a/functions/math/isgreater.c b/functions/math/isgreater.c
deleted file mode 100644 (file)
index d9ffdd5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isgreater( float x, float y ) { /* TODO */ };
-bool isgreater( double x, double y ) { /* TODO */ };
-bool isgreater( long double x, long double y ) { /* TODO */ };
diff --git a/functions/math/isgreaterequal.c b/functions/math/isgreaterequal.c
deleted file mode 100644 (file)
index d16cea7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isgreaterequal( float x, float y ) { /* TODO */ };
-bool isgreaterequal( double x, double y ) { /* TODO */ };
-bool isgreaterequal( long double x, long double y ) { /* TODO */ };
diff --git a/functions/math/isinf.c b/functions/math/isinf.c
deleted file mode 100644 (file)
index 281bdfd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isinf( float x ) { /* TODO */ };
-bool isinf( double x ) { /* TODO */ };
-bool isinf( long double x ) { /* TODO */ };
diff --git a/functions/math/isless.c b/functions/math/isless.c
deleted file mode 100644 (file)
index 5ecfd1d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isless( float x, float y ) { /* TODO */ };
-bool isless( double x, double y ) { /* TODO */ };
-bool isless( long double x, long double y ) { /* TODO */ };
diff --git a/functions/math/islessequal.c b/functions/math/islessequal.c
deleted file mode 100644 (file)
index b3e79db..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool islessequal( float x, float y ) { /* TODO */ };
-bool islessequal( double x, double y ) { /* TODO */ };
-bool islessequal( long double x, long double y ) { /* TODO */ };
diff --git a/functions/math/islessgreater.c b/functions/math/islessgreater.c
deleted file mode 100644 (file)
index 6340fe6..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool islessgreater( float x, float y ) { /* TODO */ };
-bool islessgreater( double x, double y ) { /* TODO */ };
-bool islessgreater( long double x, long double y ) { /* TODO */ };
diff --git a/functions/math/isnan.c b/functions/math/isnan.c
deleted file mode 100644 (file)
index f18be9d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isnan( float x ) { /* TODO */ };
-bool isnan( double x ) { /* TODO */ };
-bool isnan( long double x ) { /* TODO */ };
diff --git a/functions/math/isnormal.c b/functions/math/isnormal.c
deleted file mode 100644 (file)
index e12399e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isnormal( float x ) { /* TODO */ };
-bool isnormal( double x ) { /* TODO */ };
-bool isnormal( long double x ) { /* TODO */ };
diff --git a/functions/math/isunordered.c b/functions/math/isunordered.c
deleted file mode 100644 (file)
index b3b7fad..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool isunordered( float x, float y ) { /* TODO */ };
-bool isunordered( double x, double y ) { /* TODO */ };
-bool isunordered( long double x, long double y ) { /* TODO */ };
index 47c25ce4c721083386451922218e82db98395b41..fce90a73f0c7736b6f5dd716a74d2b74a93a1610 100644 (file)
@@ -5,30 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float log( float x ) { /* TODO */ };
-long double log( long double x ) { /* TODO */ };
-
-float log10( float x ) { /* TODO */ };
-long double log10( long double x ) { /* TODO */ };
-
-float log2( float x ) { /* TODO */ };
-long double log2( long double x ) { /* TODO */ };
-
-float logb( float x ) { /* TODO */ };
-long double logb( long double x ) { /* TODO */ };
-
-int ilogb( float x ) { /* TODO */ };
-int ilogb( long double x ) { /* TODO */ };
-
-float log1p( float x ) { /* TODO */ };
-long double log1p( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double log( double x ) { /* TODO */ };
 float logf( float x ) { /* TODO */ };
 long double logl( long double x ) { /* TODO */ };
index 70f1ebc3fbcf5926e4bb94495767777bc2895ec9..ed3a371ee65ac84961a2cf08a7247793a54ebbe8 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float fmod( float x, float y ) { /* TODO */ };
-long double fmod( long double x, long double y ) { /* TODO */ };
-
-float modf( float x, float * integer ) { /* TODO */ };
-long double modf( long double x, long double * integer ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double fmod( double x, double y ) { /* TODO */ };
 
 /* Therx code
index 0b4f29c85f6a797367395922e5df9c52c13c581f..f9f7efac50b3fecbb9534a5594ad452b0e7b1fcd 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float nearbyint( float x ) { /* TODO */ };
-long double nearbyint( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double nearbyint( double x ) { /* TODO */ };
 
 /* Therx code
index 3d65a684cad6a0dd2ba094d8215e7b2833aa5a42..204caadc6105ef24ae9fb86d494a400a4a13c8f0 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float nextafter( float x, float y ) { /* TODO */ };
-long double nextafter( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double nextafter( double x, double y ) { /* TODO */ };
 float nextafterf( float x, float y ) { /* TODO */ };
 long double nextafterl( long double x, long double y ) { /* TODO */ };
index a791a427d32e0217f8f9b61b057296231090c494..30e8d945bcfffb2d45a80c82c4886099c1dbb208 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float nexttoward( float x, long double y ) { /* TODO */ };
-long double nexttoward( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double nexttoward( double x, long double y ) { /* TODO */ };
 float nexttowardf( float x, long double y ) { /* TODO */ };
 long double nexttowardl( long double x, long double y ) { /* TODO */ };
index ad4639ee33f30f5605ca4acfc763e22313e72da9..583c8f369e634e47f9bb6688e16267ab62771425 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float pow( float x, float y ) { /* TODO */ };
-long double pow( long double x, long double y ) { /* TODO */ };
-double pow( double x, int y ) { /* TODO */ };
-float pow( float x, int y ) { /* TODO */ };
-long double pow( long double x, int y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double pow( double x, double y ) { /* TODO */ };
 float powf( float x, float y ) { /* TODO */ };
 long double powl( long double x, long double y ) { /* TODO */ };
index 8772a8caae8e96bc558b8b8c8b72a8317473a675..08f167adf71ae072abf89002ca9f0c5a6a3e3bd4 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float remainder( float x, float y ) { /* TODO */ };
-long double remainder( long double x, long double y ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double remainder( double x, double y ) { /* TODO */ };
 
 /* Therx code
index ecce3c8140512a3037558e03e9b5189648a7d570..59d37b08053dd2ff5db13321de6157e1af7fb2d6 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float remquo( float x, float y, int * quotient ) { /* TODO */ };
-long double remquo( long double x, long double y, int * quotient ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double remquo( double x, double y, int * pquo ) { /* TODO */ };
 float remquof( float x, float y, int * pquo ) { /* TODO */ };
 long double remquol( long double x, long double y, int * pquo ) { /* TODO */ };
index 16b3e0bf5d10ca7ad398aabcdfecabb7c8213d01..96bd5027657a92b35715b5e4ab5d735b4cc56b75 100644 (file)
@@ -5,19 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-long long llrint( float x ) { /* TODO */ };
-long long llrint( long double x ) { /* TODO */ };
-long lrint( float x ) { /* TODO */ };
-long lrint( long double x ) { /* TODO */ };
-float rint( float x ) { /* TODO */ };
-long double rint( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 long long llrint( double x ) { /* TODO */ };
 long long llrintf( float x ) { /* TODO */ };
 long long llrintl( long double x ) { /* TODO */ };
index e3815e1ff091ec24c34f4381d8bab8cc32a05012..b2abcd1f805c588735c8f873ede453db5b7b712c 100644 (file)
@@ -5,19 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-long long llround( float x ) { /* TODO */ };
-long long llround( long double x ) { /* TODO */ };
-long lround( float x ) { /* TODO */ };
-long lround( long double x ) { /* TODO */ };
-float round( float x ) { /* TODO */ };
-long double round( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 long long llround( double x ) { /* TODO */ };
 long long llroundf( float x ) { /* TODO */ };
 long long llroundl( long double x ) { /* TODO */ };
index 835be8ec1986176d5101cefbe2a5395c37da3f1e..88d882bb9ac5aa676e02271a1fcb9fb352b5b2c4 100644 (file)
@@ -5,18 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float scalbn( float x, int ex ) { /* TODO */ };
-long double scalbn( long double x, int ex ) { /* TODO */ };
-
-float scalbln( float x, long ex ) { /* TODO */ };
-long double scalbln( long double x, long ex ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double scalbn( double x, int ex ) { /* TODO */ };
 float scalbnf( float x, int ex ) { /* TODO */ };
 long double scalbnl( long double x, int ex ) { /* TODO */ };
diff --git a/functions/math/signbit.c b/functions/math/signbit.c
deleted file mode 100644 (file)
index d349fe2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-
-// ----------------------------------------------------------------------------
-// C++
-
-bool signbit( float x ) { /* TODO */ };
-bool signbit( double x ) { /* TODO */ };
-bool signbit( long double x ) { /* TODO */ };
index f2daef9150f090636868d0b485e8c54618a39080..27ad651aa603db50f92d8bb665d522b2d5e2dd36 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float sin( float x ) { /* TODO */ };
-long double sin( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double sin( double x ) { /* TODO */ };
 float sinf( float x ) { /* TODO */ };
 long double sinl( long double x ) { /* TODO */ };
index ee8e480e9954382286bd6ab5c04d180597ec7df5..c24ee3dcf3a8648d21b4a260ca956039105f7d9d 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float sinh( float x ) { /* TODO */ };
-long double sinh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double sinh( double x ) { /* TODO */ };
 float sinhf( float x ) { /* TODO */ };
 long double sinhl( long double x ) { /* TODO */ };
index 9143170b1a85d882a0e1b4e71258f7ae9c759d0a..7dd60203519089a8e5adc7e16a521813e14610ce 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float sqrt( float x ) { /* TODO */ };
-long double sqrt( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double sqrt( double x ) { /* TODO */ };
 
 /* Therx code
index 1ed27888dd779f0ba6a6040af38ca53586238cc9..1f539330c59a6203a7c3fa7d500670960acffde3 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float tan( float x ) { /* TODO */ };
-long double tan( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double tan( double x ) { /* TODO */ };
 float tanf( float x ) { /* TODO */ };
 long double tanl( long double x ) { /* TODO */ };
index b780686a3012b1a9b51b11f49217df5329f78f8d..b12162045d533015275f96d63a4267e5af5187ae 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float tanh( float x ) { /* TODO */ };
-long double tanh( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double tanh( double x ) { /* TODO */ };
 float tanhf( float x ) { /* TODO */ };
 long double tanhl( long double x ) { /* TODO */ };
index bd1784848b9d198807e8ddedf62dbb475fcc838f..c018c06168d76020827bc7a11ca9cc73d0a711bf 100644 (file)
@@ -5,15 +5,6 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
-
-float trunc( float x ) { /* TODO */ };
-long double trunc( long double x ) { /* TODO */ };
-
-// ----------------------------------------------------------------------------
-// Standard C
-
 double trunc( double x ) { /* TODO */ };
 
 /* Therx code
index 6e7ac5ed5ec7867db01f6d156a5a9a52b7e3250b..59fe73c5da1a4456ca5cb3fee1f6df2b140fd538 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __COMPLEX_H
 #define __COMPLEX_H __COMPLEX_H
 
-#include "personality.h"
+#include "__personality.h"
 
 // ----------------------------------------------------------------------------
 // DEFINES
 #endif
 
 // ----------------------------------------------------------------------------
-// FUNCTIONS - C++
-
-#ifdef __cplusplus
-
-// These functions return the absolute value (magnitude) of their parameter.
-double               abs( double      _Complex  x );
-float                abs( float       _Complex  x );
-long double          abs( long double _Complex  x );
-double               fabs( double      _Complex x );
-float                fabs( float       _Complex x );
-long double          fabs( long double _Complex x );
-
-// These functions return the sine of their parameter.
-double _Complex      sin( double _Complex      x );
-float _Complex       sin( float _Complex       x );
-long double _Complex sin( long double _Complex x );
-
-// These functions return the hyperbolic sine of their parameter.
-double _Complex      sinh( double _Complex      x );
-float _Complex       sinh( float _Complex       x );
-long double _Complex sinh( long double _Complex x );
-
-// These functions return the arcsine of their parameter.
-double _Complex      asin( double _Complex      x );
-float _Complex       asin( float _Complex       x );
-long double _Complex asin( long double _Complex x );
-
-// These functions return the hyperbolic arcsine of their parameter.
-double _Complex      asinh( double _Complex      x );
-float _Complex       asinh( float _Complex       x );
-long double _Complex asinh( long double _Complex x );
-
-// These functions return the cosine of their parameter.
-double _Complex      cos( double _Complex      x );
-float _Complex       cos( float _Complex       x );
-long double _Complex cos( long double _Complex x );
-
-// These functions return the hyperbolic cosine of their parameter.
-double _Complex      cosh( double _Complex      x );
-float _Complex       cosh( float _Complex       x );
-long double _Complex cosh( long double _Complex x );
-
-// These functions return the arccosine of their parameter.
-double _Complex      acos( double      _Complex x );
-float _Complex       acos( float       _Complex x );
-long double _Complex acos( long double _Complex x );
-
-// These functions return the hyperbolic arccosine of their parameter.
-double _Complex      acosh( double      _Complex x );
-float _Complex       acosh( float       _Complex x );
-long double _Complex acosh( long double _Complex x );
-
-// These functions return the tangent of their parameter.
-double _Complex      tan( double _Complex      x );
-float _Complex       tan( float _Complex       x );
-long double _Complex tan( long double _Complex x );
-
-// These functions return the hyperbolic tangent of their parameter.
-double _Complex      tanh( double _Complex      x );
-float _Complex       tanh( float _Complex       x );
-long double _Complex tanh( long double _Complex x );
-
-// These functions return the arctangent of their parameter.
-double _Complex      atan( double _Complex      x );
-float _Complex       atan( float _Complex       x );
-long double _Complex atan( long double _Complex x );
-
-// These functions return the hyperbolic arctangent of their parameter.
-double _Complex      atanh( double _Complex      x );
-float _Complex       atanh( float _Complex       x );
-long double _Complex atanh( long double _Complex x );
-
-// These functions return the imaginary part of their parameter.
-double               imag( double _Complex       x );
-float                imag( float _Complex        x );
-long double          imag( long double _Complex  x );
-float                cimag( float _Complex       x );
-long double          cimag( long double _Complex x );
-
-// These functions return the real part of their parameter.
-double               real( double _Complex       x );
-float                real( float _Complex        x );
-long double          real( long double _Complex  x );
-float                creal( float _Complex       x );
-long double          creal( long double _Complex x );
-
-// These functions return x^y.
-double _Complex      pow( double _Complex      x, double _Complex      y );
-float _Complex       pow( float _Complex       x, float _Complex       y );
-long double _Complex pow( long double _Complex x, long double _Complex y );
-
-// These functions return the square root of their parameter.
-double _Complex      sqrt( double _Complex      x );
-float _Complex       sqrt( float _Complex       x );
-long double _Complex sqrt( long double _Complex x );
-
-// These functions return the exponential of their parameter.
-double _Complex      exp( double _Complex      x );
-float _Complex       exp( float _Complex       x );
-long double _Complex exp( long double _Complex x );
-
-// These functions return the logarithm of their parameter.
-double _Complex      log( double _Complex      x );
-float _Complex       log( float _Complex       x );
-long double _Complex log( long double _Complex x );
-
-// These functions return the phase angle of their parameter.
-double               arg( double _Complex       x );
-float                arg( float _Complex        x );
-long double          arg( long double _Complex  x );
-float                carg( float _Complex       x );
-long double          carg( long double _Complex x );
-
-// These functions return the conjugate of their parameter.
-float _Complex       conj( float _Complex       x );
-long double _Complex conj( long double _Complex x );
-
-// These functions return the projection of their parameter.
-float _Complex       cproj( float _Complex       x );
-long double _Complex cproj( long double _Complex x );
-
-#endif // __cplusplus
-
-// ----------------------------------------------------------------------------
-// FUNCTIONS - Standard C
+// FUNCTIONS
 
 // These functions return the absolute value (magnitude) of their parameter.
 double               cabs( double _Complex       x );
index 2b4eafef71c26772bbbe45231b17c421c5729235..cc81b984a51fe92d04e8770859a8329ff9c565ab 100644 (file)
@@ -23,15 +23,7 @@ typedef struct
 imaxdiv_t;
 
 // ----------------------------------------------------------------------------
-// FUNCTIONS - C++
-
-#ifdef __cplusplus
-intmax_t abs( intmax_t i );
-imaxdiv_t div( intmax_t numer, intmax_t denom );
-#endif __cplusplus
-
-// ----------------------------------------------------------------------------
-// FUNCTIONS - Standard C
+// FUNCTIONS
 
 intmax_t imaxabs( intmax_t i );
 imaxdiv_t imaxdiv( intmax_t numer, intmax_t denom );
index 7dd19ca58477063735f550c954cd427c2d10499a..632dcef0b62257f35cefc8bf2c67695419bd7fb3 100644 (file)
@@ -13,8 +13,6 @@
 // ----------------------------------------------------------------------------
 // DEFINES
 
-#ifndef __cplusplus
-
 #define and &&
 #define and_eq &=
 #define bitand &
@@ -27,6 +25,4 @@
 #define xor ^
 #define xor_eq ^=
 
-#endif // __cplusplus
-
 #endif // __ISO646_H
index ee4dff7ef0fbe668c7023079e32a56a100b8e4c3..ef80c92775d192540504a4ab664b2b5d9ee756f8 100644 (file)
@@ -48,8 +48,6 @@ typedef float_t;  // TODO - personality?
 // --------------------------------------------------------------------------
 // MACROS
 
-#ifndef __cplusplus
-
 #define isgreater( x, y )      // TODO
 #define isgreaterequal( x, y ) // TODO
 #define isless( x, y )         // TODO
@@ -64,279 +62,8 @@ typedef float_t;  // TODO - personality?
 #define isnormal( x )          // TODO
 #define signbit( x )           // TODO
 
-#else // __cplusplus
-
-// The same functionality as above is implemented as functions in C++.
-bool signbit( float x );
-bool signbit( double x );
-bool signbit( long double x );
-int fpclassify( float x );
-int fpclassify( double x );
-int fpclassify( long double x );
-bool isfinite( float x );
-bool isfinite( double x );
-bool isfinite( long double x );
-bool isinf( float x );
-bool isinf( double x );
-bool isinf( long double x );
-bool isnan( float x );
-bool isnan( double x );
-bool isnan( long double x );
-bool isnormal( float x );
-bool isnormal( double x );
-bool isnormal( long double x );
-bool isgreater( float x, float y );
-bool isgreater( double x, double y );
-bool isgreater( long double x, long double y );
-bool isgreaterequal( float x, float y );
-bool isgreaterequal( double x, double y );
-bool isgreaterequal( long double x, long double y );
-bool isless( float x, float y );
-bool isless( double x, double y );
-bool isless( long double x, long double y );
-bool islessequal( float x, float y );
-bool islessequal( double x, double y );
-bool islessequal( long double x, long double y );
-bool islessgreater( float x, float y );
-bool islessgreater( double x, double y );
-bool islessgreater( long double x, long double y );
-bool isunordered( float x, float y );
-bool isunordered( double x, double y );
-bool isunordered( long double x, long double y );
-
-#endif // __cplusplus
-
-// --------------------------------------------------------------------------
-// FUNCTIONS - C++
-
-#ifdef __cplusplus
-
-// These functions return the magnitude of their parameter.
-double      abs( double      x );
-float       abs( float       x );
-long double abs( long double x );
-float       fabs( float       x );
-long double fabs( long double x );
-
-// These functions return the sine of their parameter.
-float       sin( float       x );
-long double sin( long double x );
-
-// These functions return the hyperbolic sine of their parameter.
-float       sinh( float       x );
-long double sinh( long double x );
-
-// These functions return the arcsine of their parameter.
-float       asin( float       x );
-long double asin( long double x );
-
-// These functions compute the arc hyperbolic sine of x.
-float       asinh( float       x );
-long double asinh( long double x );
-
-// These functions return the cosine of their parameter.
-float       cos( float       x );
-long double cos( long double x );
-
-// These functions return the hyperbolic cosine of their parameter.
-float       cosh( float       x );
-long double cosh( long double x );
-
-// These functions return the arcsine of their parameter.
-float       acos( float       x );
-long double acos( long double x );
-
-// These functions return the hyperbolic arccosine of their parameter.
-float       acosh( float       x );
-long double acosh( long double x );
-
-// These functions return the tangent of their parameter.
-float       tan( float       x );
-long double tan( long double x );
-
-// These functions return the hyperbolic tangent of their parameter.
-float       tanh( float       x );
-long double tanh( long double x );
-
-// These functions return the arctangent of their parameter.
-float       atan( float       x );
-long double atan( long double x );
-
-// These functions return the hyperbolic arctangent of their parameter.
-float       atanh( float       x );
-long double atanh( long double x );
-
-// TODO
-float       atan2( float       y, float       x );
-long double atan2( long double y, long double x );
-
-// These functions return sqrt( x^2 + y^2 ).
-float       hypot( float       x, float       y );
-long double hypot( long double x, long double y );
-
-// These functions return their parameter x, raised to the power y.
-float       pow( float       x, float       y );
-long double pow( long double x, long double y );
-double      pow( double      x, int         y );
-float       pow( float       x, int         y );
-long double pow( long double x, int         y );
-
-// These functions return the square root of their parameter.
-float       sqrt( float       x );
-long double sqrt( long double x );
-
-// TODO
-float       cbrt( float       x );
-long double cbrt( long double x );
-
-// TODO
-float       exp( float       x );
-long double exp( long double x );
-
-// TODO
-float       exp2( float       x );
-long double exp2( long double x );
-
-// TODO
-float       expm1( float       x );
-long double expm1( long double x );
-
-// TODO
-float       frexp( float       x, int * exponent );
-long double frexp( long double x, int * exponent );
-
-// TODO
-float       ldexp( float       x, int exponent );
-long double ldexp( long double x, int exponent );
-
-// These functions return the natural logarithm of their parameter.
-float       log( float       x );
-long double log( long double x );
-
-// These functions return the logarithm (base 10 ) of their parameter.
-float       log10( float       x );
-long double log10( long double x );
-
-// These functions return the logarithm (base 2 ) of their parameter.
-float       log2( float       x );
-long double log2( long double x );
-
-// TODO
-float       logb( float       x );
-long double logb( long double x );
-
-// TODO
-int ilogb( float       x );
-int ilogb( long double x );
-
-// TODO
-float       log1p( float       x );
-long double log1p( long double x );
-
-// These functions return the smallest integer no larger than their parameter
-float       ceil( float       x );
-long double ceil( long double x );
-
-// These functions return the biggest integer no larger than their parameter.
-float       floor( float       x );
-long double floor( long double x );
-
-// TODO
-float       fmod( float       x, float       y );
-long double fmod( long double x, long double y );
-
-// TODO
-float       modf( float       x, float *       integer );
-long double modf( long double x, long double * integer );
-
-// These functions return their parameter x, with the sign of parameter y.
-float       copysign( float       x, float       y );
-long double copysign( long double x, long double y );
-
-// TODO
-float       erf( float       x );
-long double erf( long double x );
-
-// TODO
-float       erfc( float       x );
-long double erfc( long double x );
-
-// TODO
-float       fdim( float       x, float       y );
-long double fdim( long double x, long double y );
-
-// TODO
-float       fma( float       x, float       y, float       z );
-long double fma( long double x, long double y, long double z );
-
-// These functions return the larger of their parameters.
-float       fmax( float       x, float       y );
-long double fmax( long double x, long double y );
-
-// These functions return the smaller of their parameters.
-float       fmin( float       x, float       y );
-long double fmin( long double x, long double y );
-
-// TODO
-long long llrint( float x );
-long long llrint( long double x );
-long lrint( float       x );
-long lrint( long double x );
-float       rint( float       x );
-long double rint( long double x );
-
-// TODO
-long long llround( float       x );
-long long llround( long double x );
-long lround( float       x );
-long lround( long double x );
-float       round( float       x );
-long double round( long double x );
-
-// TODO
-float       trunc( float       x );
-long double trunc( long double x );
-
-// TODO
-float       nearbyint( float       x );
-long double nearbyint( long double x );
-
-// TODO
-float       nextafter( float       x, float       y );
-long double nextafter( long double x, long double y );
-
-// TODO
-float       nexttoward( float       x, long double y );
-long double nexttoward( long double x, long double y );
-
-// TODO
-float       remainder( float       x, float       y );
-long double remainder( long double x, long double y );
-
-// TODO
-float       remquo( float       x, float       y, int * quotient );
-long double remquo( long double x, long double y, int * quotient );
-
-// TODO
-float       scalbn( float       x, int ex );
-long double scalbn( long double x, int ex );
-
-// TODO
-float       scalbln( float       x, long ex );
-long double scalbln( long double x, long ex );
-
-// TODO
-float       lgamma( float       x );
-long double lgamma( long double x );
-
-// TODO
-float       tgamma( float       x );
-long double tgamma( long double x );
-
-#endif // __cplusplus
-
 // ----------------------------------------------------------------------------
-// FUNCTIONS - Standard C
+// FUNCTIONS
 
 // These functions return the magnitude of their parameter.
 double      fabs( double       x );
index 610f71c4ca40b6aabc7d7a1e44d824872ac3e236..fab8a401075cd33247d5d336f56478e3825b8dee 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __STDLIB_H
 #define __STDLIB_H __STDLIB_H
 
-// TODO: Documentation, C++ handling
+// TODO: Documentation
 
 // ----------------------------------------------------------------------------
 // MACROS
@@ -48,20 +48,7 @@ typedef wchar_t; // TODO - personality?
 #endif // __cplusplus
 
 // ----------------------------------------------------------------------------
-// FUNCTIONS - C++
-
-#ifdef __cplusplus
-
-long abs( long i );
-long long abs( long long i );
-
-ldiv_t div( long numer, long denom );
-lldiv_t div( long long numer, long long denom );
-
-#endif // __cplusplus
-
-// ----------------------------------------------------------------------------
-// FUNCTIONS - Standard C
+// FUNCTIONS
 
 int abs( int i );
 long long llabs( long long i );
@@ -106,17 +93,8 @@ void abort( void );
 char * getenv( const char * name );
 int system( const char * s );
 
-#ifdef __cplusplus
-#define __cppwrapper( x ) extern "C++" x \
-extern "C" x
-#else
-#define __cppwrapper( x ) x
-#endif // __cplusplus
-
-__cppwrapper( int atexit( void (*func) ( void ) ) { /* TODO */ }; )
-__cppwrapper( void * bsearch( const void * key, const void * base, size_t nelem, size_t size, int (*cmp) ( const void * ck, const void * ce) ) { /* TODO */ }; )
-__cppwrapper( void qsort( void * base, size_t nelem, size_t size, int (*cmp) ( const void * e1, const void * e2) ) { /* TODO */ }; )
-
-#undef __cppwrapper
+int atexit( void (*func) ( void ) );
+void * bsearch( const void * key, const void * base, size_t nelem, size_t size, int (*cmp) ( const void * ck, const void * ce) );
+void qsort( void * base, size_t nelem, size_t size, int (*cmp) ( const void * e1, const void * e2) );
 
 #endif // __STDLIB_H
index c6ebcd37733bdf22b13401153cb89900e616b4ab..a5e5b21072277c344ab978f4a03a21565b3fefdf 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __STRING_H
 #define __STRING_H __STRING_H
 
-// TODO: Documentation, C++ handling
+// TODO: Documentation
 
 // ----------------------------------------------------------------------------
 // MACROS
@@ -43,27 +43,10 @@ size_t strspn( const char * s1, const char * s2 );
 char * strtok( char * restrict s1, const char * restrict s2 );
 size_t strxfrm( char * restrict s1, const char * restrict s2, size_t n );
 
-#ifdef __cplusplus
-
-const void * memchr( const void * s, int c, size_t n );
-void * memchr( void * s, int c, size_t n );
-const char * strchr( const char * s, int c );
-char * strchr( char * s, int c );
-const char * strpbrk( const char * s1, const char * s2 );
-char * strpbrk( char * s1, const char * s2 );
-const char * strrchr( const char * s, int c );
-char * strrchr( char * s, int c );
-const char * strstr( const char * s1, const char * s2 );
-char * strstr( char * s1, const char * s2 );
-
-#else
-
 void * memchr( const void * s, int c, size_t n );
 char * strchr( const char * s, int c );
 char * strpbrk( const char *s1, const char * s2 );
 char * strrchr( const char * s, int c );
 char * strstr( const char * s1, const char * s2 );
 
-#endif // __cplusplus
-
 #endif // __STRING_H
index dc3125df065b57a5bdad9f1b7a91e1773e545319..3ba73b0560093f92dd27f60ed8b2f5cfca8d37fe 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __TGMATH_H
 #define __TGMATH_H __TGMATH_H
 
-// TODO: Generics support, C++ handling
+// TODO: Generics support
 
 #include <complex.h>
 #include <math.h>
index 300b0f04c1ed88bcb524e41e3b008822be129ed2..a86a6fa90110de8b6a6eba303dc7bfb9426f49fb 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __WCHAR_H
 #define __WCHAR_H __WCHAR_H
 
-// TODO: Documentation, C++ handling
+// TODO: Documentation
 
 // ----------------------------------------------------------------------------
 // MACROS
@@ -95,27 +95,10 @@ wchar_t * wmemcpy( wchar_t * restrict s1, const wchar_t * restrict s2, size_t n
 wchar_t * wmemmove( wchar_t * s1, const wchar_t * s2, size_t n );
 wchar_t * wmemset( wchar_t * s, wchar_t c, size_t n );
 
-#ifdef __cplusplus
-
-const wchar_t * wcschr( const wchar_t * s, wchar_t c );
-wchar_t * wcschr( wchar_t * s, wchar_t c );
-const wchar_t * wcspbrk( const wchar_t * s1, const wchar_t * s2 );
-wchar_t * wcspbrk( wchar_t * s1, const wchar_t * s2 );
-const wchar_t * wcsrchr( const wchar_t * s, wchar_t c );
-wchar_t * wcsrchr( wchar_t * s, wchar_t c );
-const wchar_t * wcsstr( const wchar_t * s1, const wchar_t * s2 );
-wchar_t * wcsstr( wchar_t * s1, const wchar_t * s2 );
-const wchar_t * wmemchr( const wchar_t * s, wchar_t c, size_t n );
-wchar_t * wmemchr( wchar_t * s, wchar_t c, size_t n );
-
-#else
-
 wchar_t * wcschr( const wchar_t * s, wchar_t c ); 
 wchar_t * wcspbrk( const wchar_t * s1, const wchar_t * s2 );
 wchar_t * wcsrchr( const wchar_t * s, wchar_t c );
 wchar_t * wcsstr( const wchar_t * s1, const wchar_t * s2 );
 wchar_t * wmemchr( const wchar_t * s, wchar_t c, size_t n);
 
-#endif // __cplusplus
-
 #endif // __WCHAR_H
diff --git a/personalities/__personality.h b/personalities/__personality.h
new file mode 100644 (file)
index 0000000..bf2d2a6
Binary files /dev/null and b/personalities/__personality.h differ
similarity index 100%
rename from includes/float.h
rename to personalities/float.h
similarity index 100%
rename from includes/limits.h
rename to personalities/limits.h
similarity index 100%
rename from includes/stdint.h
rename to personalities/stdint.h
diff --git a/personality.txt b/personality.txt
new file mode 100644 (file)
index 0000000..90d2461
Binary files /dev/null and b/personality.txt differ