[swift-evolution] Implicit truncation
xiaodi.wu at gmail.com
Tue May 23 20:55:09 CDT 2017
On Tue, May 23, 2017 at 5:27 PM, Guillaume Lessard via swift-evolution <
swift-evolution at swift.org> wrote:
> > On May 23, 2017, at 13:25, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> > The doc comments in the proposal text were meant as explanation for
> readers of the proposal; they undergo editing for accuracy during
> implementation. That wording is, notably, not found in the implemented
> What? It shows up in my browser! This is how it looks right now: (in
> /// Creates an integer from the given floating-point value, truncating any
> /// fractional part.
> /// Truncating the fractional part of `source` is equivalent to rounding
> /// toward zero.
> Let’s not cherry-pick.
You are quite right; this is still there, and I didn't see it! Well, let's
Is there another lossy initializer for Int or BinaryInteger that doesn’t
> have a parameter label?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution