class HDLRuby::High::TypeFloat

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 HDLRuby::Low::TypeVector::new
# File lib/HDLRuby/hruby_high.rb, line 1832
def initialize(name,range = 52..-11)
    # Initialize the type.
    super(name,Float,range)
end