diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-12 22:54:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-12 22:54:35 +0000 |
commit | f0e23ed3daf4d57345cfa284164276b520302c03 (patch) | |
tree | 3e5b0729899d1e124eec7996df94fd9f7e688d05 /Build/source/utils/asymptote/runmath.in | |
parent | bd459bc63bbacb77224c9d858759541096c095c8 (diff) |
asy 2.38 sources
git-svn-id: svn://tug.org/texlive/trunk@41074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/runmath.in')
-rw-r--r-- | Build/source/utils/asymptote/runmath.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Build/source/utils/asymptote/runmath.in b/Build/source/utils/asymptote/runmath.in index ea74462bc2b..61fef8b3000 100644 --- a/Build/source/utils/asymptote/runmath.in +++ b/Build/source/utils/asymptote/runmath.in @@ -84,10 +84,7 @@ pair ^(pair z, Int y) Int quotient(Int x, Int y) { - if(y == 0) dividebyzero(); - if(y == -1) return Negate(x); -// Implementation-independent definition of integer division: round down - return (x-portableMod(x,y))/y; + return quotient<Int>()(x,y); } Int abs(Int x) |