OLD | NEW |
1 /* Internal testing support for rounding for decimal float. | 1 /* Internal testing support for rounding for decimal float. |
2 | 2 |
3 Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. | 3 Copyright (C) 2005-2013 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it | 7 GCC is free software; you can redistribute it and/or modify it |
8 under the terms of the GNU General Public License as published by | 8 under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3, or (at your option) | 9 the Free Software Foundation; either version 3, or (at your option) |
10 any later version. | 10 any later version. |
11 | 11 |
12 GCC is distributed in the hope that it will be useful, but WITHOUT | 12 GCC is distributed in the hope that it will be useful, but WITHOUT |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 return mode; | 88 return mode; |
89 } | 89 } |
90 | 90 |
91 /* Return the decNumber version of the current rounding mode. */ | 91 /* Return the decNumber version of the current rounding mode. */ |
92 | 92 |
93 enum rounding | 93 enum rounding |
94 __decGetRound (void) | 94 __decGetRound (void) |
95 { | 95 { |
96 return __dfp_rounding_mode; | 96 return __dfp_rounding_mode; |
97 } | 97 } |
OLD | NEW |