diff options
| author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-06 09:28:33 +0000 |
|---|---|---|
| committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-06 09:28:33 +0000 |
| commit | 31faa9e9e78de46a0f47991e03389ea32b8e7162 (patch) | |
| tree | 9f79fd08002a2888dd7edf0387a56e70b06d129d /libjava/gnu/classpath/jdwp/VMVirtualMachine.java | |
| parent | 9503c77c59c86c364fd106913beaabcfc826b7c2 (diff) | |
| download | ppe42-gcc-31faa9e9e78de46a0f47991e03389ea32b8e7162.tar.gz ppe42-gcc-31faa9e9e78de46a0f47991e03389ea32b8e7162.zip | |
2007-04-06 Thomas Quinot <quinot@adacore.com>
* uintp.ads, uintp.adb (UI_Div_Rem): New subprogram, extending previous
implementation of UI_Div.
(UI_Div): Reimplement as a call to UI_Div_Rem.
(UI_Rem): Take advantage of the fact that UI_Div_Rem provides the
remainder, avoiding the cost of a multiplication and a subtraction.
(UI_Modular_Inverse): Take advantage of the fact that UI_Div_Rem
provides both quotient and remainder in a single computation.
(UI_Modular_Exponentiation, UI_Modular_Inverse): New modular arithmetic
functions for uint.
(UI_Modular_Inverse): Add a note that the behaviour of this subprogram
is undefined if the given n is not inversible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123603 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/classpath/jdwp/VMVirtualMachine.java')
0 files changed, 0 insertions, 0 deletions

