Files
swift-mirror/stdlib/public/core
Xiaodi Wu 4c7059f59a [stdlib][SR-13883] Avoid advancing past representable bounds when striding (#34860)
* [stdlib][SR-13883] Avoid advancing past representable bounds when striding.

* [stdlib] Expand a test and add a comment to ensure correct floating-point stride bounds checking.

* [stdlib][NFC] Clarify a comment in a test.

* [stdlib][NFC] Adjust copyright notices, clarify comments, delete '-swift-version=3' for tests.

* [stdlib] Add implementations for fixed-width integer strides for performance.

* [stdlib] Document `Strideable._step` and modify overflow checking behavior of `Stride*Iterator`.

* [stdlib] Address reviewer comments, postpone documentation changes

* [stdlib][NFC] Update documentation for '_step(after:from:by:)'

* [stdlib][NFC] Use 'nil' instead of an arbitrary value for integer striding '_step' index
2021-03-11 08:18:28 -05:00
..
2019-12-07 11:05:44 -05:00
2020-12-21 18:44:03 -05:00
2020-12-21 18:44:03 -05:00
2020-12-21 18:44:03 -05:00
2019-12-07 11:05:45 -05:00
2020-12-21 18:44:03 -05:00
2018-11-15 11:06:30 -08:00
2020-12-21 18:44:03 -05:00
2019-12-07 11:05:45 -05:00
2018-11-08 06:45:20 -08:00
2020-12-21 18:44:03 -05:00