rogeret
Member level 4
When you represent numbers with finite precision, not every number in the available range can be represented exactly. If a number cannot be represented exactly by the specified data type and scaling, a rounding method is used to cast the value to a representable number.
But , in HDL, How to round to the closestnumber in the direction of zero?
Any efficient method?
Thanks!
But , in HDL, How to round to the closestnumber in the direction of zero?
Any efficient method?
Thanks!