Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Merge 8.6 |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | core-8-branch |
Files: | files | file ages | folders |
SHA3-256: |
acb2aadd83f6a73cc8e510087cba0d99 |
User & Date: | jan.nijtmans 2019-06-15 22:33:10.854 |
Context
2019-06-16
| ||
09:42 | TIP 521: Float classification functions check-in: d465e9717d user: dkf tags: core-8-branch | |
2019-06-15
| ||
22:33 | Merge 8.6 check-in: acb2aadd83 user: jan.nijtmans tags: core-8-branch | |
22:31 | Merge 8.5 check-in: 7a96d24542 user: jan.nijtmans tags: core-8-6-branch | |
17:49 | TIP 461: text comparison operators for [expr] check-in: 7b13a290cc user: dkf tags: core-8-branch | |
Changes
Changes to generic/tclStrToD.c.
︙ | ︙ | |||
3264 3265 3266 3267 3268 3269 3270 | /* * b = bw * 2**b2 * 5**b5 * mminus = 5**m5 */ TclInitBignumFromWideUInt(&b, bw); | | | 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 | /* * b = bw * 2**b2 * 5**b5 * mminus = 5**m5 */ TclInitBignumFromWideUInt(&b, bw); mp_init_set(&mminus, 1); MulPow5(&b, b5, &b); mp_mul_2d(&b, b2, &b); /* * Adjust if the logarithm was guessed wrong. */ |
︙ | ︙ | |||
3649 3650 3651 3652 3653 3654 3655 | /* * b = bw * 2**b2 * 5**b5 * S = 2**s2 * 5*s5 */ TclInitBignumFromWideUInt(&b, bw); mp_mul_2d(&b, b2, &b); | | | | 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 | /* * b = bw * 2**b2 * 5**b5 * S = 2**s2 * 5*s5 */ TclInitBignumFromWideUInt(&b, bw); mp_mul_2d(&b, b2, &b); mp_init_set(&S, 1); MulPow5(&S, s5, &S); mp_mul_2d(&S, s2, &S); /* * Handle the case where we guess the position of the decimal point wrong. */ if (mp_cmp_mag(&b, &S) == MP_LT) { mp_mul_d(&b, 10, &b); minit = 10; ilim =ilim1; --k; } /* * mminus = 2**m2minus * 5**m5 */ mp_init_set(&mminus, minit); mp_mul_2d(&mminus, m2minus, &mminus); if (m2plus > m2minus) { mp_init_copy(&mplus, &mminus); mp_mul_2d(&mplus, m2plus-m2minus, &mplus); } /* |
︙ | ︙ | |||
3858 3859 3860 3861 3862 3863 3864 | * b = bw * 2**b2 * 5**b5 * S = 2**s2 * 5*s5 */ mp_init_multi(&dig, NULL); TclInitBignumFromWideUInt(&b, bw); mp_mul_2d(&b, b2, &b); | | | 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 | * b = bw * 2**b2 * 5**b5 * S = 2**s2 * 5*s5 */ mp_init_multi(&dig, NULL); TclInitBignumFromWideUInt(&b, bw); mp_mul_2d(&b, b2, &b); mp_init_set(&S, 1); MulPow5(&S, s5, &S); mp_mul_2d(&S, s2, &S); /* * Handle the case where we guess the position of the decimal point wrong. */ if (mp_cmp_mag(&b, &S) == MP_LT) { |
︙ | ︙ |