summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-07-12 17:27:42 +0300
committerGitHub <noreply@github.com>2021-07-12 17:27:42 +0300
commit89babbd98fc75399709543f55013ff856280c668 (patch)
tree0c78c6295529d7526579a82e81ece2c16b184641
parentc07080f12652b2cced2f6ca2cb3e72e085565047 (diff)
parent60d9bfb69270d31df6c211e098fb443ab344f2af (diff)
downloadnumpy-89babbd98fc75399709543f55013ff856280c668.tar.gz
Merge pull request #19458 from seberg/19454-avoid-unicode-c-files
MAINT: Avoid unicode characters in division SIMD code comments
-rw-r--r--numpy/core/src/umath/loops_arithmetic.dispatch.c.src12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/src/umath/loops_arithmetic.dispatch.c.src b/numpy/core/src/umath/loops_arithmetic.dispatch.c.src
index 19e05f2b5..1ddf7c3b1 100644
--- a/numpy/core/src/umath/loops_arithmetic.dispatch.c.src
+++ b/numpy/core/src/umath/loops_arithmetic.dispatch.c.src
@@ -22,17 +22,17 @@
** Defining the SIMD kernels
*
* Floor division of signed is based on T. Granlund and P. L. Montgomery
- * “Division by invariant integers using multiplication(see [Figure 6.1]
+ * "Division by invariant integers using multiplication(see [Figure 6.1]
* http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.1.2556)"
* For details on TRUNC division see simd/intdiv.h for more clarification
***********************************************************************************
- ** Figure 6.1: Signed division by run–time invariant divisor, rounded towards -INF
+ ** Figure 6.1: Signed division by run-time invariant divisor, rounded towards -INF
***********************************************************************************
* For q = FLOOR(a/d), all sword:
- * sword −dsign = SRL(d, N − 1);
- * uword −nsign = (n < −dsign);
- * uword −qsign = EOR(−nsign, −dsign);
- * q = TRUNC((n − (−dsign ) + (−nsign))/d) − (−qsign);
+ * sword -dsign = SRL(d, N - 1);
+ * uword -nsign = (n < -dsign);
+ * uword -qsign = EOR(-nsign, -dsign);
+ * q = TRUNC((n - (-dsign ) + (-nsign))/d) - (-qsign);
********************************************************************************/
#if NPY_SIMD