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.
This commit is contained in:
parent
464310f522
commit
74ea0ecb4a
|
|
@ -174,6 +174,6 @@ verireal operator- (const verireal&l)
|
||||||
|
|
||||||
ostream& operator<< (ostream&out, const verireal&v)
|
ostream& operator<< (ostream&out, const verireal&v)
|
||||||
{
|
{
|
||||||
out << v.value_;
|
out << showpoint << v.value_;
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue