diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-17 22:58:52 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-17 22:58:52 -0600 |
commit | 85219c48da0d3fff98a9d741e09d34e74abfec0b (patch) | |
tree | 39a5b8c13926dd2083c8552d701276678f6515c5 /src/main.cpp | |
parent | 55ef5612f8950bd042ffd6d001908845a4321f8e (diff) | |
download | clic-85219c48da0d3fff98a9d741e09d34e74abfec0b.tar.gz clic-85219c48da0d3fff98a9d741e09d34e74abfec0b.tar.bz2 clic-85219c48da0d3fff98a9d741e09d34e74abfec0b.tar.xz clic-85219c48da0d3fff98a9d741e09d34e74abfec0b.zip |
Division, attempt one - broken.
It doesn't work by any means, and I think I confused myself partway
through. I shouldn't code when I'm that tired, at least not on
something this complex.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 23388ab..fe9a1fe 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -286,6 +286,7 @@ void fractest() | |||
286 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); | 286 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); |
287 | println("%1 - %2 = %3").arg( a ).arg( b ).arg( a - b ); | 287 | println("%1 - %2 = %3").arg( a ).arg( b ).arg( a - b ); |
288 | println("%1 * %2 = %3").arg( a ).arg( b ).arg( a * b ); | 288 | println("%1 * %2 = %3").arg( a ).arg( b ).arg( a * b ); |
289 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); | ||
289 | } | 290 | } |
290 | 291 | ||
291 | int main( int , char *[] ) | 292 | int main( int , char *[] ) |