Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 02022b7 commit 8f0db97b1b41e29159c3c553f01cf980ab221f03 @denis-sh denis-sh committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 decimal/rounding.d
View
@@ -58,7 +58,7 @@ public int sgn(const BigInt num) {
BigInt zero = BigInt(0);
BigInt big = copy(num);
if (big < zero) return -1;
- if (big < zero) return 1;
+ if (big > zero) return 1;
return 0;
}

0 comments on commit 8f0db97

Please sign in to comment.