Class: LLVM::Float

Inherits:
ConstantReal show all
Defined in:
lib/llvm/core/value.rb

Class Method Summary collapse

Methods inherited from ConstantReal

#*, #+, #[email protected], #/, #fcmp, from_f, parse, #rem

Methods inherited from Constant

#bitcast_to, #gep, null, null_ptr, #ptr_to_int, undef

Methods inherited from User

#operands

Methods inherited from Value

#add_attribute, #constant?, #dump, from_ptr, #name, #name=, #null?, to_ptr, #type, #undefined?

Methods included from PointerIdentity

#==, #eql?, #hash, #to_ptr

Class Method Details

.typeObject

Return a Type representation of the float.


547
548
549
# File 'lib/llvm/core/value.rb', line 547

def self.type
  Type.from_ptr(C.float_type, :float)
end