Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 6, 2019 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/05d221469f2e6c155fb1f3e1020ca479 to your computer and use it in GitHub Desktop.
Save Whateverable/05d221469f2e6c155fb1f3e1020ca479 to your computer and use it in GitHub Desktop.
bisectable6
old=2018.03 new=2018.11 print 9999999999999999.0-9999999999999998.0
Bisecting: 920 revisions left to test after this (roughly 10 steps)
[b0ba1eae56492e9d50fe05c3944cfced51a882a9] Reduction spree in Version
»»»»» Testing b0ba1eae56492e9d50fe05c3944cfced51a882a9
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c5d14062abb2231a18688f3de854b6dbd3a3df1f
»»»»» Script output:
2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ecbf44fb59bbbd9cc3efc4adc1dabc10771a3083
»»»»» Script output:
2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f1693f261a9000969d23089202e1d070c159dd6b
»»»»» Script output:
2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0601c43ca5233903e69605453273f3114cf5031f
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4522132d2f99bc17de5ebb7e00ee56cf86a75adb
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e0a27ce3718fcb5bd0277b9760aea986c904c611
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing df5d82e8f8b4b3853ee1f36673a5e44a40d57e22
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fec1bd74f97e257d4c88673cd62fdcae39f587a3
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2999d4fc9590813055709a642d919558e2c5adb9
»»»»» Script output:
2
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
2
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
fec1bd74f97e257d4c88673cd62fdcae39f587a3 is the first new commit
commit fec1bd74f97e257d4c88673cd62fdcae39f587a3
Author: Zoffix Znet <cpan@zoffix.com>
Date: Wed Aug 1 13:08:57 2018 +0000
Fix wrong math with largish Ints
Fixes R#2157 https://github.com/rakudo/rakudo/issues/2157
The cause of the bug is NQP apparently uses doubles to handle its
ints[^1]. 2**52 is the limit under which every number is representable
in a double, which is why when we bumped up[^2] the point at which we
switched to bigints in Rakudo to be over that limit, we brought in the
NQP's limitation into Perl 6 land.
Fix by dialing down the switch to bigint to occur before we go over the
2**52 limit. The NQP Issue[^1] will resolve the problem in NQP land and
once that's done, I presume we can bump up the limit in rakudo once again.
[1] N#363 https://github.com/perl6/nqp/issues/363
[2] https://github.com/rakudo/rakudo/commit/b61b3c7a7f0c6848f4698aaed23da21ca29115bc
:040000 040000 9e0ac4092f98055e34f6b3fb30d7fb8beeaba09c 124e769c5d9a526078aa2546717fb127a70048ad M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment