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, undef

Methods inherited from User

#operands

Methods inherited from Value

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

Constructor Details

This class inherits a constructor from LLVM::Value

Class Method Details

.typeObject

Return a Type representation of the float.



485
486
487
# File 'lib/llvm/core/value.rb', line 485

def self.type
  Type.from_ptr(C.LLVMFloatType)
end