diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-28 18:48:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-28 18:48:48 +0000 |
commit | 3a9439b815af6c2d41c60f6694d88f2852544442 (patch) | |
tree | 6cc1c05e02ef84a1aeb2448b30814d7fc360ed9e /Master/texmf-dist/asymptote/rational.asy | |
parent | 61a286ce26800c5976ff5c8c8795dc7eea404fd2 (diff) |
asymptote 2.47 support files
git-svn-id: svn://tug.org/texlive/trunk@50168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/rational.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/rational.asy | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/rational.asy b/Master/texmf-dist/asymptote/rational.asy index 0fa4ee36afa..a142063806d 100644 --- a/Master/texmf-dist/asymptote/rational.asy +++ b/Master/texmf-dist/asymptote/rational.asy @@ -87,6 +87,11 @@ bool operator ==(rational r, rational s) return r.p == s.p && r.q == s.q; } +bool operator !=(rational r, rational s) +{ + return r.p != s.p || r.q != s.q; +} + bool operator <(rational r, rational s) { return r.p*s.q-s.p*r.q < 0; |