Class: LLVM::Float

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

Class Method Summary collapse

Methods inherited from ConstantReal

#*, #+, #-, #-@, #/, #ext, #fcmp, from_f, parse, #rem, #to_f, #to_i, #trunc

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, from_ptr_kind, #global_parent, #kind, #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.



719
720
721
# File 'lib/llvm/core/value.rb', line 719

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