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.
(cherry picked from commit 74ea0ecb4a)
This commit is contained in:
Cary R 2009-04-02 12:03:31 -07:00 committed by Stephen Williams
parent 10b8055a38
commit 74df582c73
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}