rpl.rb/lib/core/logs.rb
2021-12-15 13:33:06 +01:00

16 lines
302 B
Ruby

module Rpl
module Lang
module Core
module_function
# Euler constant
def e( stack, dictionary )
stack << { type: :numeric,
base: 10,
value: BigMath.E( Rpl::Core.precision ) }
[stack, dictionary]
end
end
end
end