You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "IPv4 number parser" and the "port state" of the "basic URL parser" mention radix-R (or radix-10) operations. (I presume "radix" is used to avoid confusion with the other definition of "base" used in the same document.)
However, it does not provide instructions on how to perform radix-based operations.
If input contains a code point that is not a radix-R digit, then return failure.
Return the mathematical integer value that is represented by input in radix-R notation, using ASCII hex digits for digits with values 0 through 15.
Let port be the mathematical integer value that is represented by buffer in radix-10 using ASCII digits for digits with values 0 through 9.
It would be good for there to be explicit instructions on how to perform these radix operations (particularly that first one, where R can be 10, 16, or 8, in context), either here or in Infra. Otherwise, it is up to the implementation to determine how to map 10 => 0-9, 16 => 0-F, and 8 => 0-7, a seemingly non-trivial task.
The text was updated successfully, but these errors were encountered:
The "IPv4 number parser" and the "port state" of the "basic URL parser" mention radix-R (or radix-10) operations. (I presume "radix" is used to avoid confusion with the other definition of "base" used in the same document.)
However, it does not provide instructions on how to perform radix-based operations.
It would be good for there to be explicit instructions on how to perform these radix operations (particularly that first one, where R can be 10, 16, or 8, in context), either here or in Infra. Otherwise, it is up to the implementation to determine how to map 10 => 0-9, 16 => 0-F, and 8 => 0-7, a seemingly non-trivial task.
The text was updated successfully, but these errors were encountered: