Whether a "char" is signed or unsigned is left undefined by the C standard. Some platforms such as armv7l actually seem to have an "unsigned" C char. Enforce a signed char where relevant. (fixes test_extint128 and test_mem_overlap on Raspberry Pi 2)
Timedelta multiplication and division relied on undefined behaviour for some inputs, which would give the expected results on x86 but not on armv7l (e.g. Raspberry Pi 2). Closes #6274.
These are used for testing the diophantine solver and memory overlap codes.
Avoid going through python floats when converting string to longdouble. This makes it dramatically easier to produce full-precision long double numbers. Fixed are the constructor (np.longdouble("1.01")), np.fromfile, np.fromstring, np.loadtxt, and np.genfromtxt (and functions based on it). Also fixed is precision loss when using np.tofile. This also fixes #1481, poor handling of bad data in fromfile and fromstring. If the function strtod_l is not available, almost none of this will work, and many tests will fail.
Didn't think the violation could cause issues but apparently some compilers do mess it up. Also the old code is overly complicated, don't know what I was thinking ... Closes gh-6251
It may be that you can say that it cannot happen when grow inner is not enabled as well.
npyiter can change its inner stride when it is buffered, this happens in some cases (the test is one of these) mostly for weirdly strided arrays. The test does depend on the buffer size being used. closes gh-6221