Files
n8n-openai-adapter/lib/numeric.ex
T
2011-01-22 23:55:20 +01:00

17 lines
322 B
Elixir

module Numeric
def +(other)
Erlang.elixir_numeric_methods.add(self, other)
end
def -(other)
Erlang.elixir_numeric_methods.subtract(self, other)
end
def *(other)
Erlang.elixir_numeric_methods.multiply(self, other)
end
def /(other)
Erlang.elixir_numeric_methods.divide(self, other)
end
end