arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
718 stars 32 forks source link

[Numbers\powmod] not working for Web builds #441

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

[Numbers\powmod] not working for Web builds

https://github.com/arturo-lang/arturo/blob/5ac436015372367bc4f623745bcf0487a39d7108/src/library/Numbers.nim#L839

            ##########################################################
            if x.kind==Integer and x.iKind==BigInteger:
                when defined(WEB):
                    push(newLogical(x.bi > big(0)))
                elif not defined(NOGMP):
                    push(newLogical(positive(x.bi)))
            else:
                push(newLogical(x > I0))

    when not defined(NOGMP):
        # TODO(Numbers\powmod) not working for Web builds
        # labels: web,enhancement
        builtin "powmod",
            alias       = unaliased, 
            rule        = PrefixPrecedence,

cc388dd9d83602bc496c84f29adcf40595839a87

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Closing issue as stale.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.