feat(vm/compiler): export su_power function in case user needs it

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-04-05 15:49:00 +03:00
parent beb84d7652
commit 6d4529971c
3 changed files with 18 additions and 7 deletions

View File

@ -114,6 +114,7 @@ su_op_advance_finish:
; Output: st0 : 2^x
;-------------------------------------------------------------------------------
{{- if not (.HasCall "su_nonlinear_map")}}{{.SectText "su_power"}}{{end}}
{{.Export "su_power" 0}}
su_power:
fld1 ; 1 x
fld st1 ; x 1 x