ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #crystal-lang
ua_ has joined #crystal-lang
ua__ has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
jmdaemon has quit [Ping timeout: 248 seconds]
<
FromGitter>
<asterite> I guess an int instead of a float
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #crystal-lang
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #crystal-lang
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #crystal-lang
jmdaemon has joined #crystal-lang
HumanG33k has quit [Quit: WeeChat 3.0]
<
FromGitter>
<moe:busyloop.net> fixed 😛
<
FromGitter>
<Blacksmoke16> `2 // 1` 😉
<
FromGitter>
<RespiteSage> "Proposal to add `Float#rount` to the standard library"
<
FromGitter>
<RespiteSage> Also, serious question: `(x / y).round.to_i` is different than `x // y`, right?
<
FromGitter>
<Blacksmoke16> they're the same if `#round` happens to round down
<
FromGitter>
<RespiteSage> Yeah, I see.
<
FromGitter>
<RespiteSage> Rounding to even is the default for `#round`, right?
<
FromGitter>
<RespiteSage> So I guess maybe they're the same all the time if you're using `RoundingMode::TO_ZERO`?
<
FromGitter>
<RespiteSage> I'm getting too wrapped up in this..
<
FromGitter>
<Blacksmoke16> or like `(x / y).floor.to_i` yea
avane_ has quit [Ping timeout: 240 seconds]
avane has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Remote host closed the connection]