Talk:Imaginary base numbers: Difference between revisions
Content added Content deleted
mNo edit summary |
|||
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). 04: |
to trim the unnecessary trailing ".0" (as the heading says, both pretty minor points). [[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 04:21, 9 November 2018 (UTC) |
Revision as of 04:21, 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). Pete Lomax (talk) 04:21, 9 November 2018 (UTC)