Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GCD.

  • Loading branch information...
commit f0065f3ee16999ed7efa8704e53db8a069344e58 1 parent 138bbcf
@colomon authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 t/03-playing.t
View
5 t/03-playing.t
@@ -27,4 +27,9 @@ plan *;
"2**80 is 1208925819614629174706176";
}
+{
+ my @gcd = Math::BigInt.new("51343124325234324234"), Math::BigInt.new("2345298549024520"), * % * ... 0;
+ is @gcd[*-2], 2, "The GCD is 2";
+}
+
done;
Please sign in to comment.
Something went wrong with that request. Please try again.