We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0aa75 commit 8393f06Copy full SHA for 8393f06
stdlib/public/core/FloatingPointFromString.swift
@@ -929,7 +929,7 @@ fileprivate func fastParse64(
929
}
930
931
// Parse an exponent phrase "e+123"
932
- if i < input.count && (input[i] | 0x20) == 0x65 { // 'e' or 'E'
+ if unsafe i < input.count && (input[unchecked: i] | 0x20) == 0x65 { // 'e' or 'E'
933
i &+= 1
934
var exponentSign = Int32(1)
935
if i >= input.count {
0 commit comments