diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-02 19:25:41 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-02 19:25:41 +0000 |
commit | 2d8e49dbc314f322aed1bd3d70ed9ed690b3f0a8 (patch) | |
tree | a1266b751d55fc1b1fde340e3d8aacd443fbcde6 /gcc/wide-int.h | |
parent | 52c6c602f0c1a0008170c0594c09939e21bb3909 (diff) | |
download | gcc-2d8e49dbc314f322aed1bd3d70ed9ed690b3f0a8.tar.gz |
Revert udiv_ceil patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@210016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int.h')
-rw-r--r-- | gcc/wide-int.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/wide-int.h b/gcc/wide-int.h index f6e30bc953a..6860af95be4 100644 --- a/gcc/wide-int.h +++ b/gcc/wide-int.h @@ -518,7 +518,6 @@ namespace wi BINARY_FUNCTION udiv_floor (const T1 &, const T2 &); BINARY_FUNCTION sdiv_floor (const T1 &, const T2 &); BINARY_FUNCTION div_ceil (const T1 &, const T2 &, signop, bool * = 0); - BINARY_FUNCTION udiv_ceil (const T1 &, const T2 &); BINARY_FUNCTION div_round (const T1 &, const T2 &, signop, bool * = 0); BINARY_FUNCTION divmod_trunc (const T1 &, const T2 &, signop, WI_BINARY_RESULT (T1, T2) *); @@ -2583,14 +2582,6 @@ wi::div_ceil (const T1 &x, const T2 &y, signop sgn, bool *overflow) return quotient; } -/* Return X / Y, rouding towards +inf. Treat X and Y as unsigned values. */ -template <typename T1, typename T2> -inline WI_BINARY_RESULT (T1, T2) -wi::udiv_ceil (const T1 &x, const T2 &y) -{ - return div_ceil (x, y, UNSIGNED); -} - /* Return X / Y, rouding towards nearest with ties away from zero. Treat X and Y as having the signedness given by SGN. Indicate in *OVERFLOW if the result overflows. */ |