diff options
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) |