Real constants are always signed.

Set the signed_flag_ for real constants.
This commit is contained in:
Cary R 2009-07-09 14:41:41 -07:00 committed by Stephen Williams
parent 24a60ce6af
commit 786b3a0ca9
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002-2008 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2009 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@ -438,6 +438,7 @@ NetECReal::NetECReal(const verireal&val)
: value_(val)
{
expr_width(1);
cast_signed(true);
}
NetECReal::~NetECReal()