Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
lammps
858.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 858.patch of Package lammps
From c664f46b31650f362cc132bcc17a3f9de923768b Mon Sep 17 00:00:00 2001 From: Christoph Junghans <junghans@votca.org> Date: Wed, 28 Mar 2018 11:28:28 -0600 Subject: [PATCH] MathSpecial::fm_exp: fix return value on ppc64 --- src/math_special.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/math_special.cpp b/src/math_special.cpp index d778e1e1ad..4b9197f0fc 100644 --- a/src/math_special.cpp +++ b/src/math_special.cpp @@ -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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor