Add float_warnings patches for Ruby 2.0.0p64[5 7 8], 2.1.[8 9 10], 2.2.[4 5 6 7 8], 2.3.[0 1 2 3 4 5] and 2.4.[0 1 2]#4201
Conversation
…2.2.[4 5 6 7 8], 2.3.[0 1 2 3 4 5] and 2.4.[0 1 2]
…ruby_versions Add float_warnings patchsets for Ruby 2.0.0p64[5 7 8], 2.1.[8 9 10], 2.2.[4 5 6 7 8], 2.3.[0 1 2 3 4 5] and 2.4.[0 1 2]
|
Hi @knugie, could you shed some light on the source of this patches and what they supposed to fix? |
|
Hi @pkuczynski, of course. float_warnings is supposed to help Ruby developers identify unexpected behaviour when initializing BigDecimal with a Float. The patches add two warnings. One in fmi, see my closed rvm PRs: https://github.com/rvm/rvm/pulls?q=is%3Apr+author%3Aknugie+is%3Aclosed Btw, it's totally unrelated to Railsexpressruby. I simply use @skaes' pattern to provide patchsets. |
Latest float_warnings patches.