Class: BOAST::Division

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

Class Method Summary collapse

Methods inherited from BasicBinaryOperator

to_s

Methods inherited from Operator

convert, get_vector_name

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



372
373
374
# File 'lib/BOAST/Operators.rb', line 372

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

.intr_name_ARMObject



368
369
370
# File 'lib/BOAST/Operators.rb', line 368

def intr_name_ARM
  raise "Neon doesn't support division!"
end

.intr_name_X86Object



364
365
366
# File 'lib/BOAST/Operators.rb', line 364

def intr_name_X86
  return "div"
end

.symbolObject



360
361
362
# File 'lib/BOAST/Operators.rb', line 360

def symbol
  return "/"
end