-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUMBERS-150: Fix Fraction.pow and BigFraction.pow
Modified to: - correctly handle Integer.MIN_VALUE as the argument. - throw an ArithmeticException when zero is raised to a negative power. Squashed commit of the following: commit 0fd1da5 Author: XenoAmess <[email protected]> Date: Wed Aug 26 04:36:46 2020 +0800 fix checkstyles commit 4c2aa76 Author: XenoAmess <[email protected]> Date: Wed Aug 26 04:34:54 2020 +0800 apply suggestions commit 0fc3a52 Author: XenoAmess <[email protected]> Date: Wed Aug 26 04:27:42 2020 +0800 apply suggestions commit 1481998 Author: XenoAmess <[email protected]> Date: Wed Aug 26 04:24:58 2020 +0800 apply suggestions commit 4467842 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:28:58 2020 +0800 fix checkstyles commit 708414c Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:27:43 2020 +0800 change as suggested commit 5b9c91a Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:24:56 2020 +0800 change as suggested commit 12142b6 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:23:57 2020 +0800 change as suggested commit 3f10f12 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:22:13 2020 +0800 change as suggested commit d01b5b8 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:20:50 2020 +0800 change as suggested commit 6f23df0 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:16:33 2020 +0800 change as suggested commit 3646e00 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:15:10 2020 +0800 change as suggested commit 3d4bc49 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:13:29 2020 +0800 change as suggested commit 267df94 Author: XenoAmess <[email protected]> Date: Wed Aug 26 03:12:04 2020 +0800 change as suggested commit ba0d39b Author: XenoAmess <[email protected]> Date: Tue Aug 25 21:26:27 2020 +0800 [NUMBERS-150] fix bug in Fraction.pow and BigFraction.pow
- Loading branch information
Showing
5 changed files
with
65 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters