MCPcopy Create free account
hub / github.com/numpy/numpy / on_powerpc

Function on_powerpc

numpy/core/tests/test_umath.py:98–101  ·  view source on GitHub ↗

True if we are running on a Power PC platform.

()

Source from the content-addressed store, hash-verified

96
97
98def on_powerpc():
99 """ True if we are running on a Power PC platform."""
100 return platform.processor() == 'powerpc' or \
101 platform.machine().startswith('ppc')
102
103
104def bad_arcsinh():

Callers 1

bad_arcsinhFunction · 0.85

Calls 1

startswithMethod · 0.80

Tested by

no test coverage detected