diff options
author | William Grant <wgrant@ubuntu.com> | 2014-03-20 08:44:31 +0100 |
---|---|---|
committer | Michel Normand <normand@linux.vnet.ibm.com> | 2014-03-28 13:34:28 +0100 |
commit | 2ba74c397a5d840665d07f4fc3b2fa00214d1fcd (patch) | |
tree | d27002fa1fed6a518a7cb456ac9aaad145ddd45c /numpy/core/setup_common.py | |
parent | 7e40517d04a4743f37aa9f6dfb2aeb2343f5443a (diff) | |
download | numpy-2ba74c397a5d840665d07f4fc3b2fa00214d1fcd.tar.gz |
Adding support of ppc64le architecture
Signed-off-by: William Grant <wgrant@ubuntu.com>
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 2db4b4331..d85973daf 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -256,6 +256,8 @@ _IEEE_QUAD_PREC_BE = ['300', '031', '326', '363', '105', '100', '000', '000', _IEEE_QUAD_PREC_LE = _IEEE_QUAD_PREC_BE[::-1] _DOUBLE_DOUBLE_BE = ['301', '235', '157', '064', '124', '000', '000', '000'] + \ ['000'] * 8 +_DOUBLE_DOUBLE_LE = ['000', '000', '000', '124', '064', '157', '235', '301'] + \ + ['000'] * 8 def long_double_representation(lines): """Given a binary dump as given by GNU od -b, look for long double @@ -295,6 +297,8 @@ def long_double_representation(lines): return 'IEEE_QUAD_LE' elif read[8:-8] == _DOUBLE_DOUBLE_BE: return 'DOUBLE_DOUBLE_BE' + elif read[8:-8] == _DOUBLE_DOUBLE_LE: + return 'DOUBLE_DOUBLE_LE' elif read[:16] == _BEFORE_SEQ: if read[16:-8] == _IEEE_DOUBLE_LE: return 'IEEE_DOUBLE_LE' |