Class: BOAST::Different
- Defined in:
- lib/BOAST/Language/Operators.rb
Constant Summary
Constants inherited from Operator
Constants included from Intrinsics
Intrinsics::CONVERSIONS, Intrinsics::INTRINSICS
Class Method Summary collapse
Methods inherited from Operator
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, type_name_ARM, type_name_X86, vector_type_name
Class Method Details
.basic_usage(arg1, arg2) ⇒ Object
108 109 110 111 |
# File 'lib/BOAST/Language/Operators.rb', line 108 def Different.basic_usage(arg1, arg2) return "#{arg1} /= #{arg2}" if lang == FORTRAN return "#{arg1} != #{arg2}" end |
.string(arg1, arg2, return_type) ⇒ Object
104 105 106 |
# File 'lib/BOAST/Language/Operators.rb', line 104 def Different.string(arg1, arg2, return_type) return basic_usage(arg1, arg2) end |