Class: BOAST::Multiplication

Inherits:
BasicBinaryOperator show all
Defined in:
lib/BOAST/Language/Operators.rb

Constant Summary

Constants inherited from Operator

Operator::DISCARD_OPTIONS

Constants included from Intrinsics

Intrinsics::CONVERSIONS, Intrinsics::INTRINSICS

Class Method Summary collapse

Methods inherited from BasicBinaryOperator

to_s

Methods inherited from Operator

convert, inspect

Methods included from PrivateStateAccessor

private_boolean_state_accessor, private_state_accessor

Methods included from Intrinsics

get_conversion_path, get_vector_decl, get_vector_decl_ARM, get_vector_decl_X86, get_vector_name, intrinsics, intrinsics_by_vector_name, supported, type_name_ARM, type_name_X86, vector_type_name

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



88
89
90
# File 'lib/BOAST/Language/Operators.rb', line 88

def basic_usage(arg1, arg2)
  return "(#{arg1}) * (#{arg2})" 
end

.intr_symbolObject



84
85
86
# File 'lib/BOAST/Language/Operators.rb', line 84

def intr_symbol
  return :MUL
end

.symbolObject



80
81
82
# File 'lib/BOAST/Language/Operators.rb', line 80

def symbol
  return "*"
end