Mercurial > hg > CbC > CbC_gcc
comparison libdecnumber/decCommon.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Common code for fixed-size types in the decNumber C Library. | 1 /* Common code for fixed-size types in the decNumber C Library. |
2 Copyright (C) 2007, 2009 Free Software Foundation, Inc. | 2 Copyright (C) 2007-2017 Free Software Foundation, Inc. |
3 Contributed by IBM Corporation. Author Mike Cowlishaw. | 3 Contributed by IBM Corporation. Author Mike Cowlishaw. |
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 under | 7 GCC is free software; you can redistribute it and/or modify it under |
711 /* QUAD the first (pad) nibble must be 0. */ | 711 /* QUAD the first (pad) nibble must be 0. */ |
712 /* All coefficient nibbles must be in 0-9 and sign in A-F. */ | 712 /* All coefficient nibbles must be in 0-9 and sign in A-F. */ |
713 /* returns df, which will be canonical or NULL if any of the */ | 713 /* returns df, which will be canonical or NULL if any of the */ |
714 /* requirements are not met (if this case df is unchanged); that */ | 714 /* requirements are not met (if this case df is unchanged); that */ |
715 /* is, the input data must be as returned by decFloatToPacked, */ | 715 /* is, the input data must be as returned by decFloatToPacked, */ |
716 /* except that all six sign codes are acccepted. */ | 716 /* except that all six sign codes are accepted. */ |
717 /* */ | 717 /* */ |
718 /* No status will be set. */ | 718 /* No status will be set. */ |
719 /* ------------------------------------------------------------------ */ | 719 /* ------------------------------------------------------------------ */ |
720 decFloat * decFloatFromPackedChecked(decFloat *df, Int exp, | 720 decFloat * decFloatFromPackedChecked(decFloat *df, Int exp, |
721 const uByte *packed) { | 721 const uByte *packed) { |