Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returns "0.0" instead of "0" for a zero double #1191

Closed
wants to merge 1 commit into from

Commits on Oct 10, 2019

  1. Returns "0.0" instead of "0" for a zero double

    so that a roundtrip thru stringification is a noop.
    
    That is the following prints 1
    nqp -e 'my $i := 0.0; say(nqp::eqaddr($i.WHAT, (+~$i).WHAT))'
    
    I was unable to test it because I was not able to build nqp with the modified
    moar on catalina.
    perl Configure.pl --prefix=/usr --backends=moar --with-moar=/Users/cog/git/MoarVM/moar
    make: *** No rule to make target `/Users/cog/git/MoarVM/../share/nqp/lib/MAST/Nodes.nqp', needed by `gen/moar/stage1/MASTNodes.nqp'.  Stop.
    cognominal committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    a92d205 View commit details
    Browse the repository at this point in the history