Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show verireal constants with a decimal point.

When displaying a verireal constant value force the display
of the decimal point and trailing zeros. This prevents 2.0,
etc. from being display as "2". which can be confused with
decimal two.
  • Loading branch information...
commit 74ea0ecb4a96530288a1be95b61bd49b34a0f10f 1 parent 464310f
@caryr caryr authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  verireal.cc
View
2  verireal.cc
@@ -174,6 +174,6 @@ verireal operator- (const verireal&l)
ostream& operator<< (ostream&out, const verireal&v)
{
- out << v.value_;
+ out << showpoint << v.value_;
return out;
}
Please sign in to comment.
Something went wrong with that request. Please try again.