Talk:Imaginary base numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "=== couple of minor points === When translating the Sidef code to Phix, one thing I noticed is that parse_base() never has to deal with a leading '-', so I took that out. As...")
 
Line 4: Line 4:
never use a minus sign. The same unnecessary handling exists in the Perl6 code.
never use a minus sign. The same unnecessary handling exists in the Perl6 code.
Also, the even entries in the second half of the output from Kotlin, Java, Go, D, and C# all fail
Also, the even entries in the second half of the output from Kotlin, Java, Go, D, and C# all fail
to trim the unnecessary trailing ".0" (as the heading says, both pretty minor points).
to trim the unnecessary trailing ".0" (as the heading says, both pretty minor points). 04:07, 9 November 2018 (UTC)

Revision as of 04:07, 9 November 2018

couple of minor points

When translating the Sidef code to Phix, one thing I noticed is that parse_base() never has to deal with a leading '-', so I took that out. As far as I understand it, imaginary base numbers never use a minus sign. The same unnecessary handling exists in the Perl6 code. Also, the even entries in the second half of the output from Kotlin, Java, Go, D, and C# all fail to trim the unnecessary trailing ".0" (as the heading says, both pretty minor points). 04:07, 9 November 2018 (UTC)