// Inlined on other architectures double MathUtils::exp(double value) { switch (isInfinite(value)) { case 1: return kInfinity; case -1: return +0; default: return expInternal(value); } }
double MathUtils::exp(double value) { #ifdef X86_MATH switch (isInfinite(value)) { case 1: return kInfinity; case -1: return +0; default: return expInternal(value); } #else return ::exp(value); #endif /* X86_MATH */ }