class HDLRuby::Low::TypeFloat

Describes a float data type.

Describes a float data type.

Public Class Methods

new(name,range = 52..-11) click to toggle source

Creates a new vector type named name from base type and with range.

NOTE:

  • The bits of negative range stands for the exponent

  • The default range is for 64-bit IEEE 754 double precision standart

Calls superclass method
# File lib/HDLRuby/hruby_low.rb, line 1755
def initialize(name,range = 52..-11)
    # Initialize the type.
    super(name,Float,range)
end