require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MATH_H_)) {
    eval 'sub _MATH_H_ () {1;}' unless defined(&_MATH_H_);
    require 'sys/cdefs.ph';
    eval 'sub HUGE_VAL () {(*( &void *) &__infinity);}' unless defined(&HUGE_VAL);
    eval 'sub FLT_EVAL_METHOD () {(-1);}' unless defined(&FLT_EVAL_METHOD);
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : 0)) {
	eval 'sub M_E () {2.7182818284590452354;}' unless defined(&M_E);
	eval 'sub M_LOG2E () {1.4426950408889634074;}' unless defined(&M_LOG2E);
	eval 'sub M_LOG10E () {0.43429448190325182765;}' unless defined(&M_LOG10E);
	eval 'sub M_LN2 () {0.69314718055994530942;}' unless defined(&M_LN2);
	eval 'sub M_LN10 () {2.30258509299404568402;}' unless defined(&M_LN10);
	eval 'sub M_PI () {3.14159265358979323846;}' unless defined(&M_PI);
	eval 'sub M_PI_2 () {1.57079632679489661923;}' unless defined(&M_PI_2);
	eval 'sub M_PI_4 () {0.78539816339744830962;}' unless defined(&M_PI_4);
	eval 'sub M_1_PI () {0.31830988618379067154;}' unless defined(&M_1_PI);
	eval 'sub M_2_PI () {0.63661977236758134308;}' unless defined(&M_2_PI);
	eval 'sub M_2_SQRTPI () {1.12837916709551257390;}' unless defined(&M_2_SQRTPI);
	eval 'sub M_SQRT2 () {1.41421356237309504880;}' unless defined(&M_SQRT2);
	eval 'sub M_SQRT1_2 () {0.70710678118654752440;}' unless defined(&M_SQRT1_2);
	if(defined(&__vax__)) {
	    eval 'sub MAXFLOAT () {(1.70141173319264430e+38);}' unless defined(&MAXFLOAT);
	} else {
	    eval 'sub MAXFLOAT () {(3.40282346638528860e+38);}' unless defined(&MAXFLOAT);
	}
    }
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0)) {
	eval("sub fdlibm_ieee () { -1; }") unless defined(&fdlibm_ieee);
	eval("sub fdlibm_svid () { 0; }") unless defined(&fdlibm_svid);
	eval("sub fdlibm_xopen () { 1; }") unless defined(&fdlibm_xopen);
	eval("sub fdlibm_posix () { 2; }") unless defined(&fdlibm_posix);
	eval 'sub _LIB_VERSION_TYPE () { &enum  &fdversion;}' unless defined(&_LIB_VERSION_TYPE);
	eval 'sub _LIB_VERSION () { &_fdlib_version;}' unless defined(&_LIB_VERSION);
	eval 'sub _IEEE_ () { &fdlibm_ieee;}' unless defined(&_IEEE_);
	eval 'sub _SVID_ () { &fdlibm_svid;}' unless defined(&_SVID_);
	eval 'sub _XOPEN_ () { &fdlibm_xopen;}' unless defined(&_XOPEN_);
	eval 'sub _POSIX_ () { &fdlibm_posix;}' unless defined(&_POSIX_);
	unless(defined(&__cplusplus)) {
	}
	eval 'sub HUGE () { &MAXFLOAT;}' unless defined(&HUGE);
	eval 'sub X_TLOSS () {1.41484755040568800000e+16;}' unless defined(&X_TLOSS);
	eval 'sub DOMAIN () {1;}' unless defined(&DOMAIN);
	eval 'sub SING () {2;}' unless defined(&SING);
	eval 'sub OVERFLOW () {3;}' unless defined(&OVERFLOW);
	eval 'sub UNDERFLOW () {4;}' unless defined(&UNDERFLOW);
	eval 'sub TLOSS () {5;}' unless defined(&TLOSS);
	eval 'sub PLOSS () {6;}' unless defined(&PLOSS);
    }
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : 0)) {
	if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : 0) >= 500) {
	    if(defined(&__LIBM_PRIVATE)) {
	    }
	    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0) || defined( &_REENTRANT)) {
	    }
	    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0) || defined( &_REENTRANT)) {
	    }
	}
    }
}
1;
