Skip to content

{corelib_2,corelib}/integer_to_radix_string broken on all web platforms #41618

Open
@rakudrama

Description

@rakudrama

The test needs to be split into value-radix pairs that work on the web and value-radix pairs that only work on the VM.

The underlying JavaScript .toString rounds the string result, adding zeros in the least significant position when it does not make a difference to the IEEE double represented when reparsed in the radix.

For example, value 0x1000000000000000 in a power-of-two radix should work perfectly on the web, but with radix 3, the low 3 digits are 000 where the 'correct' digits would be 201.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dart2jsweb-dev-compilerweb-platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions