class AdLint::Cc1::DoubleType
Public Class Methods
new(type_tbl)
click to toggle source
Calls superclass method
AdLint::Cc1::ScalarDataType::new
# File lib/adlint/cc1/type.rb, line 5446 def initialize(type_tbl) # FIXME: StandardTypesAccessor is not ready until @type_table is # initialized. @type_table = type_tbl super(type_tbl, "double", double_size, double_alignment) end
Public Instance Methods
argument_promoted_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 5457 def argument_promoted_type self end
arithmetic_type_with(type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 5461 def arithmetic_type_with(type) type._arithmetic_type_with_double(self) end
id()
click to toggle source
# File lib/adlint/cc1/type.rb, line 5453 def id @id ||= DoubleTypeId.new end
Private Instance Methods
exponent_bit_size()
click to toggle source
# File lib/adlint/cc1/type.rb, line 5471 def exponent_bit_size # TODO: Bit size of the exponent part of `double' should be configurable. 11 end
fraction_bit_size()
click to toggle source
# File lib/adlint/cc1/type.rb, line 5466 def fraction_bit_size # TODO: Bit size of the fraction part of `double' should be configurable. 52 end