Unverified Commit 0984e94c authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #858 from junghans/fix_return

MathSpecial::fm_exp: fix return value on ppc64
parents 2a930dac c664f46b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -537,10 +537,8 @@ double MathSpecial::exp2_x86(double x)

double MathSpecial::fm_exp(double x)
{
#if defined(__BYTE_ORDER__)
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
    return exp2_x86(FM_DOUBLE_LOG2OFE * x);
#endif
#else
    return ::exp(x);
#endif