git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Arbint now does sign in division correctly
[ipdf/code.git]
/
src
/
rational.h
diff --git
a/src/rational.h
b/src/rational.h
index
e74567d
..
53f7d02
100644
(file)
--- a/
src/rational.h
+++ b/
src/rational.h
@@
-73,10
+73,6
@@
struct Rational
Rational(double d=0) : P(d*1e6), Q(1e6) // Possibly the worst thing ever...
{
Simplify();
- //if (!CheckAccuracy(d, "Construct from double"))
- {
- //Fatal("Bwah bwah :(");
- }
}
Rational(const T & _P, const T & _Q) : P(_P), Q(_Q)
UCC
git Repository :: git.ucc.asn.au