| Index: source/i18n/decNumber.c
|
| ===================================================================
|
| --- source/i18n/decNumber.c (revision 122360)
|
| +++ source/i18n/decNumber.c (working copy)
|
| @@ -1392,6 +1392,8 @@
|
| /* fastpath in decLnOp. The final division is done to the requested */
|
| /* precision. */
|
| /* ------------------------------------------------------------------ */
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Warray-bounds"
|
| U_CAPI decNumber * U_EXPORT2 uprv_decNumberLog10(decNumber *res, const decNumber *rhs,
|
| decContext *set) {
|
| uInt status=0, ignore=0; /* status accumulators */
|
| @@ -1527,6 +1529,7 @@
|
| #endif
|
| return res;
|
| } /* decNumberLog10 */
|
| +#pragma clang diagnostic pop
|
|
|
| /* ------------------------------------------------------------------ */
|
| /* decNumberMax -- compare two Numbers and return the maximum */
|
| @@ -2800,6 +2803,8 @@
|
| /* result setexp(approx, e div 2) % fix exponent */
|
| /* end sqrt */
|
| /* ------------------------------------------------------------------ */
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Warray-bounds"
|
| U_CAPI decNumber * U_EXPORT2 uprv_decNumberSquareRoot(decNumber *res, const decNumber *rhs,
|
| decContext *set) {
|
| decContext workset, approxset; /* work contexts */
|
| @@ -3129,6 +3134,7 @@
|
| #endif
|
| return res;
|
| } /* decNumberSquareRoot */
|
| +#pragma clang diagnostic pop
|
|
|
| /* ------------------------------------------------------------------ */
|
| /* decNumberSubtract -- subtract two Numbers */
|
| @@ -5584,6 +5590,8 @@
|
| /* 5. The static buffers are larger than might be expected to allow */
|
| /* for calls from decNumberPower. */
|
| /* ------------------------------------------------------------------ */
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Warray-bounds"
|
| decNumber * decLnOp(decNumber *res, const decNumber *rhs,
|
| decContext *set, uInt *status) {
|
| uInt ignore=0; /* working status accumulator */
|
| @@ -5805,6 +5813,7 @@
|
| /* [status is handled by caller] */
|
| return res;
|
| } /* decLnOp */
|
| +#pragma clang diagnostic pop
|
|
|
| /* ------------------------------------------------------------------ */
|
| /* decQuantizeOp -- force exponent to requested value */
|
|
|