From f0e23ed3daf4d57345cfa284164276b520302c03 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 May 2016 22:54:35 +0000 Subject: asy 2.38 sources git-svn-id: svn://tug.org/texlive/trunk@41074 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/runmath.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Build/source/utils/asymptote/runmath.in') 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()(x,y); } Int abs(Int x) -- cgit v1.2.3