Class: BOAST::Division
- Inherits:
-
BasicBinaryOperator
- Object
- Operator
- BasicBinaryOperator
- BOAST::Division
- Defined in:
- lib/BOAST/Operators.rb
Class Method Summary collapse
Methods inherited from BasicBinaryOperator
Methods inherited from Operator
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_ARM ⇒ Object
368 369 370 |
# File 'lib/BOAST/Operators.rb', line 368 def intr_name_ARM raise "Neon doesn't support division!" end |
.intr_name_X86 ⇒ Object
364 365 366 |
# File 'lib/BOAST/Operators.rb', line 364 def intr_name_X86 return "div" end |
.symbol ⇒ Object
360 361 362 |
# File 'lib/BOAST/Operators.rb', line 360 def symbol return "/" end |