INV result is a Float

This commit is contained in:
Gwenhael Le Moine 2021-12-08 16:08:14 +01:00
parent e7532a3559
commit 490dfa5583
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -238,7 +238,7 @@ module Rpl
# inverse
def inverse( stack, dictionary )
stack << { value: '« 1 swap / »',
stack << { value: '« 1.0 swap / »',
type: :program }
Rpl::Lang::Core.eval( stack, dictionary )