Skip to content
Snippets Groups Projects
Commit c664f46b authored by Christoph Junghans's avatar Christoph Junghans
Browse files

MathSpecial::fm_exp: fix return value on ppc64

parent b5b0f67b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment