mirror of
https://github.com/verilator/verilator.git
synced 2025-01-23 06:44:02 +00:00
Fix warning for unused param in VL_RTOIROUND_Q_D (#2356)
This commit is contained in:
parent
f7249ad23a
commit
424769c32b
@ -17,6 +17,7 @@ Howard Su
|
|||||||
Huang Rui
|
Huang Rui
|
||||||
Iztok Jeras
|
Iztok Jeras
|
||||||
James Hanlon
|
James Hanlon
|
||||||
|
Jan Van Winkel
|
||||||
Jeremy Bennett
|
Jeremy Bennett
|
||||||
John Coiner
|
John Coiner
|
||||||
John Demme
|
John Demme
|
||||||
|
@ -2384,7 +2384,7 @@ static inline WDataOutP VL_SEL_WWII(int obits, int lbits, int, int, WDataOutP ow
|
|||||||
|
|
||||||
/// Return QData from double (numeric)
|
/// Return QData from double (numeric)
|
||||||
// EMIT_RULE: VL_RTOIROUND_Q_D: oclean=dirty; lclean==clean/real
|
// EMIT_RULE: VL_RTOIROUND_Q_D: oclean=dirty; lclean==clean/real
|
||||||
static inline QData VL_RTOIROUND_Q_D(int bits, double lhs) VL_PURE {
|
static inline QData VL_RTOIROUND_Q_D(int, double lhs) VL_PURE {
|
||||||
// IEEE format: [63]=sign [62:52]=exp+1023 [51:0]=mantissa
|
// IEEE format: [63]=sign [62:52]=exp+1023 [51:0]=mantissa
|
||||||
// This does not need to support subnormals as they are sub-integral
|
// This does not need to support subnormals as they are sub-integral
|
||||||
lhs = VL_ROUND(lhs);
|
lhs = VL_ROUND(lhs);
|
||||||
|
Loading…
Reference in New Issue
Block a user