Class: LLVM::Float

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

Class Method Summary collapse

Methods inherited from ConstantReal

#*, #+, #-@, #/, #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, #allocated_type, #constant?, #dump, from_ptr, #name, #name=, #null?, #remove_attribute, to_ptr, #to_s, #type, #undefined?

Methods included from PointerIdentity

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

Class Method Details

.typeObject

Return a Type representation of the float.



610
611
612
# File 'lib/llvm/core/value.rb', line 610

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