summaryrefslogtreecommitdiff
path: root/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-17 14:07:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-17 14:07:47 +0000
commit7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch)
tree3521ee333c83fb6c7ff14d0a0a2d742464e88767 /sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
parent29394d0921808a94a409f01eff49f681651de5d5 (diff)
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch')
-rw-r--r--sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
new file mode 100644
index 000000000000..d7e4491f7434
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
@@ -0,0 +1,12 @@
+diff -r -U3 ginac-1.8.6.orig/ginac/numeric.cpp ginac-1.8.6/ginac/numeric.cpp
+--- ginac-1.8.6.orig/ginac/numeric.cpp 2023-02-08 06:02:38.000000000 +0700
++++ ginac-1.8.6/ginac/numeric.cpp 2023-02-17 16:13:45.137824611 +0700
+@@ -2139,7 +2139,7 @@
+ /** The Binomial coefficients. It computes the binomial coefficients. For
+ * integer n and k and positive n this is the number of ways of choosing k
+ * objects from n distinct objects. If n is a negative integer, the formula
+- * binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
++ * binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
+ * binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
+ * is used to compute the result. */
+ const numeric binomial(const numeric &n, const numeric &k)