≈ the.bay.news

Identify unnecessary float/int conversions?

Ziggit
Identify unnecessary float/int conversions?
I’ve been using 0.15 for my current project, but I’m considering upgrading to 0.17. One thing I remember reading in the 0.16 release notes was that some of the rules regarding float/int coercion were relaxed. Currently my code is littered with @as() and @floatFromInt() conversions, and I’m looking forward to cleaning it up. However, I’m assuming the compiler doesn’t complain about unnecessary conversions. So is there any way to identify when a conversion is no longer needed, aside from bruce fo...

I’ve been using 0.15 for my current project, but I’m considering upgrading to 0.17. One thing I remember reading in the 0.16 release notes was that some of the rules regarding…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.