Repository navigation
MOD-6501, MOD-4551, MOD-4856, MOD-5714: fix integers over i64max to be promoted to f64 - #1190
ephraimfeldblum wants to merge 11 commits into
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1190 +/- ##
==========================================
- Coverage 78.07% 78.02% -0.06%
==========================================
Files 15 15
Lines 3914 3922 +8
==========================================
+ Hits 3056 3060 +4
- Misses 858 862 +4 ☔ View full report in Codecov by Sentry. |
| .settings/ | ||
|
|
||
| wordlist.dic | ||
| config.txt |
There was a problem hiding this comment.
What's this config.txt about? :-)
There was a problem hiding this comment.
An automation file for RLTest. @MeirShpilraien can explain more in detail.
There was a problem hiding this comment.
Got you. The name is too generic. I think RLTest should have a different configuration name.
There was a problem hiding this comment.
@iddm We can deprecate this name and come up with another one more specific to RLTest. maybe rltest_config.txt? Personally I think maybe RLTest should also look for this configuration file under some user directory (maybe something like ~/.rltest/rltest_config.txt) and not just under the current directory.
There was a problem hiding this comment.
Yes, indeed, much better than just config.txt :-) But even better, just as you said, a config directory, I think. However, we should use something like XDG_CONFIG_DIR or something if it is available; if not, then just use $HOME/.config/rltest for it.
|
replaced by #1192 |
Description
Indexing
NUMERICfields has unchanged behavior.NUMERICfield with value greater thani64::min(-2^63), but less thani64::max(2^63 - 1) is indexed asi64. It does not lose precision. Its type isinteger.NUMERICfield with value greater thani64::max(2^63 - 1), but less thanu64::max(2^64 - 1) is indexed asu64. It does not lose precision. Its type isinteger.NUMERICfield with value greater thanu64::max(2^64 - 1), or lower thani64::min(-2^63), or containing a decimal point, is indexed asf64. Its type isnumber. This may implicate losing precision, but this is not a breaking change.NUMINCRBYbehavior changed to prevent crash.i64 + i64whose result is betweeni64::minandi64::maxhas unchanged behavior. Its result is stored asi64, its type isinteger.i64 + i64whose result is greater thani64::maxor less thani64::minexplicitly wraps instead of invoking undefined behavior. Its result is stored asi64, its type isinteger.i64 + u64andu64 + u64behavior is unchanged. Its result is stored asf64, its type isnumber. This may implicate losing precision, but this is not a breaking change.u64 + i64used to crash. Now it behaves consistently with the prior case.f64, the result is stored asf64, with typenumber.DROPofintegers stored asu64no longer crashes.This PR only affects
NUMERICfields using vanilla JSON, not those using CRDT.Which issues this PR fixes
Main objects this PR modified