mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user