systemverilog power operator should support real numbers #809
Labels
resolution: fixed
Closed; fixed
type: feature-IEEE
Request to add new feature, described in IEEE 1800
Author Name: Jonathon Donaldson
Original Redmine Issue: 809 from https://www.veripool.org
Original Date: 2014-08-21
Original Assignee: Wilson Snyder (@wsnyder)
Is there any particular reason why verilator doesn't allow 'real' typed numbers when using the power (i.e. '**') operator? The SystemVerilog standard says that real numbers should be allowed. It's actually done that way so that it matches the behavior of the C library's pow() function.
I have some code I'm trying to compile that looks like this:
And verilator is giving me this error:
The text was updated successfully, but these errors were encountered: