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

Methods included from PrivateStateAccessor

private_boolean_state_accessor, private_state_accessor

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



427
428
429
# File 'lib/BOAST/Operators.rb', line 427

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

.intr_name_ARMObject



423
424
425
# File 'lib/BOAST/Operators.rb', line 423

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

.intr_name_X86Object



419
420
421
# File 'lib/BOAST/Operators.rb', line 419

def intr_name_X86
  return "div"
end

.symbolObject



415
416
417
# File 'lib/BOAST/Operators.rb', line 415

def symbol
  return "/"
end