[LIBM] Convert tables from asm to C

This commit is contained in:
Timo Kreuzer 2022-06-18 12:16:29 +02:00
parent 9e8ed3f817
commit af6d3bb18f
22 changed files with 2592 additions and 2583 deletions

View file

@ -1,54 +0,0 @@
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;;
;; Defines __L_2_by_pi_bits array
;; Used in trigonometric argument reduction
;;
.const
ALIGN 16
PUBLIC __L_2_by_pi_bits
__L_2_by_pi_bits DB 224, 241, 27, 193, 12, 88, 33, 116
DB 53, 126, 196, 126, 237, 175, 169, 75
DB 74, 41, 222, 231, 28, 244, 236, 197
DB 151, 175, 31, 235, 158, 212, 181, 168
DB 127, 121, 154, 253, 24, 61, 221, 38
DB 44, 159, 60, 251, 217, 180, 125, 180
DB 41, 104, 45, 70, 188, 188, 63, 96
DB 22, 120, 255, 95, 226, 127, 236, 160
DB 228, 247, 46, 126, 17, 114, 210, 231
DB 76, 13, 230, 88, 71, 230, 4, 249
DB 125, 209, 154, 192, 113, 166, 19, 18
DB 237, 186, 212, 215, 8, 162, 251, 156
DB 166, 196, 114, 172, 119, 248, 115, 72
DB 70, 39, 168, 187, 36, 25, 128, 75
DB 55, 9, 233, 184, 145, 220, 134, 21
DB 239, 122, 175, 142, 69, 249, 7, 65
DB 14, 241, 100, 86, 138, 109, 3, 119
DB 211, 212, 71, 95, 157, 240, 167, 84
DB 16, 57, 185, 13, 230, 139, 2, 0
DB 0, 0, 0, 0, 0, 0
END

View file

@ -0,0 +1,55 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __L_2_by_pi_bits array
** Used in trigonometric argument reduction
*/
#include <crtdefs.h>
const char _CRT_ALIGN(16) __L_2_by_pi_bits[] =
{
224, 241, 27, 193, 12, 88, 33, 116,
53, 126, 196, 126, 237, 175, 169, 75,
74, 41, 222, 231, 28, 244, 236, 197,
151, 175, 31, 235, 158, 212, 181, 168,
127, 121, 154, 253, 24, 61, 221, 38,
44, 159, 60, 251, 217, 180, 125, 180,
41, 104, 45, 70, 188, 188, 63, 96,
22, 120, 255, 95, 226, 127, 236, 160,
228, 247, 46, 126, 17, 114, 210, 231,
76, 13, 230, 88, 71, 230, 4, 249,
125, 209, 154, 192, 113, 166, 19, 18,
237, 186, 212, 215, 8, 162, 251, 156,
166, 196, 114, 172, 119, 248, 115, 72,
70, 39, 168, 187, 36, 25, 128, 75,
55, 9, 233, 184, 145, 220, 134, 21,
239, 122, 175, 142, 69, 249, 7, 65,
14, 241, 100, 86, 138, 109, 3, 119,
211, 212, 71, 95, 157, 240, 167, 84,
16, 57, 185, 13, 230, 139, 2, 0,
0, 0, 0, 0, 0, 0
};

View file

@ -1,62 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __Lcosarray and __Lsinarray arrays.
;; Used in sin.asm and cos.asm
;;
.const
ALIGN 16
PUBLIC __Lcosarray
__Lcosarray DQ 03fa5555555555555h ; 0.0416667 c1
DQ 0
DQ 0bf56c16c16c16967h ; -0.00138889 c2
DQ 0
DQ 03EFA01A019F4EC91h ; 2.48016e-005 c3
DQ 0
DQ 0bE927E4FA17F667Bh ; -2.75573e-007 c4
DQ 0
DQ 03E21EEB690382EECh ; 2.08761e-009 c5
DQ 0
DQ 0bDA907DB47258AA7h ; -1.13826e-011 c6
DQ 0
ALIGN 16
PUBLIC __Lsinarray
__Lsinarray DQ 0bfc5555555555555h ; -0.166667 s1
DQ 0
DQ 03f81111111110bb3h ; 0.00833333 s2
DQ 0
DQ 0bf2a01a019e83e5ch ; -0.000198413 s3
DQ 0
DQ 03ec71de3796cde01h ; 2.75573e-006 s4
DQ 0
DQ 0be5ae600b42fdfa7h ; -2.50511e-008 s5
DQ 0
DQ 03de5e0b2f9a43bb8h ; 1.59181e-010 s6
DQ 0
END

View file

@ -0,0 +1,62 @@
/*
*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
** Defines __Lcosarray and __Lsinarray arrays.
** Used in sin.asm and cos.asm
*/
#include <crtdefs.h>
const long long _CRT_ALIGN(16) __Lcosarray[] =
{
0x03fa5555555555555ull, // 0.0416667 c1
0x0,
0x0bf56c16c16c16967ull, // -0.00138889 c2
0x0,
0x03EFA01A019F4EC91ull, // 2.48016e-005 c3
0x0,
0x0bE927E4FA17F667Bull, // -2.75573e-007 c4
0x0,
0x03E21EEB690382EECull, // 2.08761e-009 c5
0x0,
0x0bDA907DB47258AA7ull, // -1.13826e-011 c6
0x0,
};
const long long _CRT_ALIGN(16) __Lsinarray[] =
{
0x0bfc5555555555555ull, // -0.166667 s1
0x0,
0x03f81111111110bb3ull, // 0.00833333 s2
0x0,
0x0bf2a01a019e83e5cull, // -0.000198413 s3
0x0,
0x03ec71de3796cde01ull, // 2.75573e-006 s4
0x0,
0x0be5ae600b42fdfa7ull, // -2.50511e-008 s5
0x0,
0x03de5e0b2f9a43bb8ull, // 1.59181e-010 s6
0x0,
};

View file

@ -1,48 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __Lcosarray and __Lsinarray arrays.
;; Used in sin.asm and cos.asm
;; These coefficients are actually from Taylor series.
;;
.const
ALIGN 16
PUBLIC __Lcosfarray
__Lcosfarray DQ 0bfe0000000000000h ; -0.5 c0
DQ 03fa5555555555555h ; 0.0416667 c1
DQ 0bf56c16c16c16c16h ; -0.00138889 c2
DQ 03EFA01A01A01A019h ; 2.48016e-005 c3
DQ 0be927e4fb7789f5ch ; -2.75573e-007 c4
ALIGN 16
PUBLIC __Lsinfarray
__Lsinfarray DQ 0bfc5555555555555h ; -0.166667 s1
DQ 03f81111111111111h ; 0.00833333 s2
DQ 0bf2a01a01a01a01ah ; -0.000198413 s3
DQ 03ec71de3a556c734h ; 2.75573e-006 s4
END

View file

@ -0,0 +1,49 @@
/*
*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
** Defines __Lcosarray and __Lsinarray arrays.
** Used in sin.asm and cos.asm
** These coefficients are actually from Taylor series.
*/
#include <crtdefs.h>
const long long _CRT_ALIGN(16) __Lcosfarray[] =
{
0x0bfe0000000000000ull, // -0.5 c0
0x03fa5555555555555ull, // 0.0416667 c1
0x0bf56c16c16c16c16ull, // -0.00138889 c2
0x03EFA01A01A01A019ull, // 2.48016e-005 c3
0x0be927e4fb7789f5cull, // -2.75573e-007 c4
};
const long long _CRT_ALIGN(16) __Lsinfarray[] =
{
0x0bfc5555555555555ull, // -0.166667 s1
0x03f81111111111111ull, // 0.00833333 s2
0x0bf2a01a01a01a01aull, // -0.000198413 s3
0x03ec71de3a556c734ull, // 2.75573e-006 s4
};

View file

@ -1,297 +0,0 @@
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;;
;; Defines __log_128_lead and __log_128_tail tables
;; Used by log and pow
;;
.const
ALIGN 16
PUBLIC __log10_128_lead
__log10_128_lead:
DD 00000000h
DD 3b5d4000h
DD 3bdc8000h
DD 3c24c000h
DD 3c5ac000h
DD 3c884000h
DD 3ca2c000h
DD 3cbd4000h
DD 3cd78000h
DD 3cf1c000h
DD 3d05c000h
DD 3d128000h
DD 3d1f4000h
DD 3d2c0000h
DD 3d388000h
DD 3d450000h
DD 3d518000h
DD 3d5dc000h
DD 3d6a0000h
DD 3d760000h
DD 3d810000h
DD 3d870000h
DD 3d8d0000h
DD 3d92c000h
DD 3d98c000h
DD 3d9e8000h
DD 3da44000h
DD 3daa0000h
DD 3dafc000h
DD 3db58000h
DD 3dbb4000h
DD 3dc0c000h
DD 3dc64000h
DD 3dcc0000h
DD 3dd18000h
DD 3dd6c000h
DD 3ddc4000h
DD 3de1c000h
DD 3de70000h
DD 3dec8000h
DD 3df1c000h
DD 3df70000h
DD 3dfc4000h
DD 3e00c000h
DD 3e034000h
DD 3e05c000h
DD 3e088000h
DD 3e0b0000h
DD 3e0d8000h
DD 3e100000h
DD 3e128000h
DD 3e150000h
DD 3e178000h
DD 3e1a0000h
DD 3e1c8000h
DD 3e1ec000h
DD 3e214000h
DD 3e23c000h
DD 3e260000h
DD 3e288000h
DD 3e2ac000h
DD 3e2d4000h
DD 3e2f8000h
DD 3e31c000h
DD 3e344000h
DD 3e368000h
DD 3e38c000h
DD 3e3b0000h
DD 3e3d4000h
DD 3e3fc000h
DD 3e420000h
DD 3e440000h
DD 3e464000h
DD 3e488000h
DD 3e4ac000h
DD 3e4d0000h
DD 3e4f4000h
DD 3e514000h
DD 3e538000h
DD 3e55c000h
DD 3e57c000h
DD 3e5a0000h
DD 3e5c0000h
DD 3e5e4000h
DD 3e604000h
DD 3e624000h
DD 3e648000h
DD 3e668000h
DD 3e688000h
DD 3e6ac000h
DD 3e6cc000h
DD 3e6ec000h
DD 3e70c000h
DD 3e72c000h
DD 3e74c000h
DD 3e76c000h
DD 3e78c000h
DD 3e7ac000h
DD 3e7cc000h
DD 3e7ec000h
DD 3e804000h
DD 3e814000h
DD 3e824000h
DD 3e834000h
DD 3e840000h
DD 3e850000h
DD 3e860000h
DD 3e870000h
DD 3e880000h
DD 3e88c000h
DD 3e89c000h
DD 3e8ac000h
DD 3e8bc000h
DD 3e8c8000h
DD 3e8d8000h
DD 3e8e8000h
DD 3e8f4000h
DD 3e904000h
DD 3e914000h
DD 3e920000h
DD 3e930000h
DD 3e93c000h
DD 3e94c000h
DD 3e958000h
DD 3e968000h
DD 3e978000h
DD 3e984000h
DD 3e994000h
DD 3e9a0000h
ALIGN 16
PUBLIC __log10_128_tail
__log10_128_tail:
DD 00000000h
DD 367a8e44h
DD 368ed49fh
DD 36c21451h
DD 375211d6h
DD 3720ea11h
DD 37e9eb59h
DD 37b87be7h
DD 37bf2560h
DD 33d597a0h
DD 37806a05h
DD 3820581fh
DD 38223334h
DD 378e3bach
DD 3810684fh
DD 37feb7aeh
DD 36a9d609h
DD 37a68163h
DD 376a8b27h
DD 384c8fd6h
DD 3885183eh
DD 3874a760h
DD 380d1154h
DD 38ea42bdh
DD 384c1571h
DD 38ba66b8h
DD 38e7da3bh
DD 38eee632h
DD 38d00911h
DD 388bbedeh
DD 378a0512h
DD 3894c7a0h
DD 38e30710h
DD 36db2829h
DD 3729d609h
DD 38fa0e82h
DD 38bc9a75h
DD 383a9297h
DD 38dc83c8h
DD 37eac335h
DD 38706ac3h
DD 389574c2h
DD 3892d068h
DD 38615032h
DD 3917acf4h
DD 3967a126h
DD 38217840h
DD 38b420abh
DD 38f9c7b2h
DD 391103bdh
DD 39169a6bh
DD 390dd194h
DD 38eda471h
DD 38a38950h
DD 37f6844ah
DD 395e1cdbh
DD 390fcffch
DD 38503e9dh
DD 394b00fdh
DD 38a9910ah
DD 39518a31h
DD 3882d2c2h
DD 392488e4h
DD 397b0affh
DD 388a22d8h
DD 3902bd5eh
DD 39342f85h
DD 39598811h
DD 3972e6b1h
DD 34d53654h
DD 360ca25eh
DD 39785cc0h
DD 39630710h
DD 39424ed7h
DD 39165101h
DD 38be5421h
DD 37e7b0c0h
DD 394fd0c3h
DD 38efaaaah
DD 37a8f566h
DD 3927c744h
DD 383fa4d5h
DD 392d9e39h
DD 3803feaeh
DD 390a268ch
DD 39692b80h
DD 38789b4fh
DD 3909307dh
DD 394a601ch
DD 35e67edch
DD 383e386dh
DD 38a7743dh
DD 38dccec3h
DD 38ff57e0h
DD 39079d8bh
DD 390651a6h
DD 38f7bad9h
DD 38d0ab82h
DD 38979e7dh
DD 381978eeh
DD 397816c8h
DD 39410cb2h
DD 39015384h
DD 3863fa28h
DD 39f41065h
DD 39c7668ah
DD 39968afah
DD 39430db9h
DD 38a18cf3h
DD 39eb2907h
DD 39a9e10ch
DD 39492800h
DD 385a53d1h
DD 39ce0cf7h
DD 3979c7b2h
DD 389f5d99h
DD 39ceefcbh
DD 39646a39h
DD 380d7a9bh
DD 39ad6650h
DD 390ac3b8h
DD 39d9a9a8h
DD 39548a99h
DD 39f73c4bh
DD 3980960eh
DD 374b3d5ah
DD 39888f1eh
DD 37679a07h
DD 39826a13h
END

View file

@ -0,0 +1,297 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log10_128_lead and __log10_128_tail tables
** Used by log and pow
**
*/
#include <crtdefs.h>
const unsigned int _CRT_ALIGN(16) __log10_128_lead[] =
{
0x00000000,
0x3b5d4000,
0x3bdc8000,
0x3c24c000,
0x3c5ac000,
0x3c884000,
0x3ca2c000,
0x3cbd4000,
0x3cd78000,
0x3cf1c000,
0x3d05c000,
0x3d128000,
0x3d1f4000,
0x3d2c0000,
0x3d388000,
0x3d450000,
0x3d518000,
0x3d5dc000,
0x3d6a0000,
0x3d760000,
0x3d810000,
0x3d870000,
0x3d8d0000,
0x3d92c000,
0x3d98c000,
0x3d9e8000,
0x3da44000,
0x3daa0000,
0x3dafc000,
0x3db58000,
0x3dbb4000,
0x3dc0c000,
0x3dc64000,
0x3dcc0000,
0x3dd18000,
0x3dd6c000,
0x3ddc4000,
0x3de1c000,
0x3de70000,
0x3dec8000,
0x3df1c000,
0x3df70000,
0x3dfc4000,
0x3e00c000,
0x3e034000,
0x3e05c000,
0x3e088000,
0x3e0b0000,
0x3e0d8000,
0x3e100000,
0x3e128000,
0x3e150000,
0x3e178000,
0x3e1a0000,
0x3e1c8000,
0x3e1ec000,
0x3e214000,
0x3e23c000,
0x3e260000,
0x3e288000,
0x3e2ac000,
0x3e2d4000,
0x3e2f8000,
0x3e31c000,
0x3e344000,
0x3e368000,
0x3e38c000,
0x3e3b0000,
0x3e3d4000,
0x3e3fc000,
0x3e420000,
0x3e440000,
0x3e464000,
0x3e488000,
0x3e4ac000,
0x3e4d0000,
0x3e4f4000,
0x3e514000,
0x3e538000,
0x3e55c000,
0x3e57c000,
0x3e5a0000,
0x3e5c0000,
0x3e5e4000,
0x3e604000,
0x3e624000,
0x3e648000,
0x3e668000,
0x3e688000,
0x3e6ac000,
0x3e6cc000,
0x3e6ec000,
0x3e70c000,
0x3e72c000,
0x3e74c000,
0x3e76c000,
0x3e78c000,
0x3e7ac000,
0x3e7cc000,
0x3e7ec000,
0x3e804000,
0x3e814000,
0x3e824000,
0x3e834000,
0x3e840000,
0x3e850000,
0x3e860000,
0x3e870000,
0x3e880000,
0x3e88c000,
0x3e89c000,
0x3e8ac000,
0x3e8bc000,
0x3e8c8000,
0x3e8d8000,
0x3e8e8000,
0x3e8f4000,
0x3e904000,
0x3e914000,
0x3e920000,
0x3e930000,
0x3e93c000,
0x3e94c000,
0x3e958000,
0x3e968000,
0x3e978000,
0x3e984000,
0x3e994000,
0x3e9a0000,
};
const unsigned int _CRT_ALIGN(16) __log10_128_tail[] =
{
0x00000000,
0x367a8e44,
0x368ed49f,
0x36c21451,
0x375211d6,
0x3720ea11,
0x37e9eb59,
0x37b87be7,
0x37bf2560,
0x33d597a0,
0x37806a05,
0x3820581f,
0x38223334,
0x378e3bac,
0x3810684f,
0x37feb7ae,
0x36a9d609,
0x37a68163,
0x376a8b27,
0x384c8fd6,
0x3885183e,
0x3874a760,
0x380d1154,
0x38ea42bd,
0x384c1571,
0x38ba66b8,
0x38e7da3b,
0x38eee632,
0x38d00911,
0x388bbede,
0x378a0512,
0x3894c7a0,
0x38e30710,
0x36db2829,
0x3729d609,
0x38fa0e82,
0x38bc9a75,
0x383a9297,
0x38dc83c8,
0x37eac335,
0x38706ac3,
0x389574c2,
0x3892d068,
0x38615032,
0x3917acf4,
0x3967a126,
0x38217840,
0x38b420ab,
0x38f9c7b2,
0x391103bd,
0x39169a6b,
0x390dd194,
0x38eda471,
0x38a38950,
0x37f6844a,
0x395e1cdb,
0x390fcffc,
0x38503e9d,
0x394b00fd,
0x38a9910a,
0x39518a31,
0x3882d2c2,
0x392488e4,
0x397b0aff,
0x388a22d8,
0x3902bd5e,
0x39342f85,
0x39598811,
0x3972e6b1,
0x34d53654,
0x360ca25e,
0x39785cc0,
0x39630710,
0x39424ed7,
0x39165101,
0x38be5421,
0x37e7b0c0,
0x394fd0c3,
0x38efaaaa,
0x37a8f566,
0x3927c744,
0x383fa4d5,
0x392d9e39,
0x3803feae,
0x390a268c,
0x39692b80,
0x38789b4f,
0x3909307d,
0x394a601c,
0x35e67edc,
0x383e386d,
0x38a7743d,
0x38dccec3,
0x38ff57e0,
0x39079d8b,
0x390651a6,
0x38f7bad9,
0x38d0ab82,
0x38979e7d,
0x381978ee,
0x397816c8,
0x39410cb2,
0x39015384,
0x3863fa28,
0x39f41065,
0x39c7668a,
0x39968afa,
0x39430db9,
0x38a18cf3,
0x39eb2907,
0x39a9e10c,
0x39492800,
0x385a53d1,
0x39ce0cf7,
0x3979c7b2,
0x389f5d99,
0x39ceefcb,
0x39646a39,
0x380d7a9b,
0x39ad6650,
0x390ac3b8,
0x39d9a9a8,
0x39548a99,
0x39f73c4b,
0x3980960e,
0x374b3d5a,
0x39888f1e,
0x37679a07,
0x39826a13,
};

View file

@ -1,552 +0,0 @@
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;;
;; Defines __log_256_lead and __log_256_tail tables
;; Used by log and pow
;;
.const
ALIGN 16
PUBLIC __log10_256_lead
__log10_256_lead:
DQ 0000000000000000h
DQ 3f5bbd9e90000000h
DQ 3f6bafd470000000h
DQ 3f74b99560000000h
DQ 3f7b9476a0000000h
DQ 3f81344da0000000h
DQ 3f849b0850000000h
DQ 3f87fe71c0000000h
DQ 3f8b5e9080000000h
DQ 3f8ebb6af0000000h
DQ 3f910a83a0000000h
DQ 3f92b5b5e0000000h
DQ 3f945f4f50000000h
DQ 3f96075300000000h
DQ 3f97adc3d0000000h
DQ 3f9952a4f0000000h
DQ 3f9af5f920000000h
DQ 3f9c97c370000000h
DQ 3f9e3806a0000000h
DQ 3f9fd6c5b0000000h
DQ 3fa0ba01a0000000h
DQ 3fa187e120000000h
DQ 3fa25502c0000000h
DQ 3fa32167c0000000h
DQ 3fa3ed1190000000h
DQ 3fa4b80180000000h
DQ 3fa58238e0000000h
DQ 3fa64bb910000000h
DQ 3fa7148340000000h
DQ 3fa7dc98c0000000h
DQ 3fa8a3fad0000000h
DQ 3fa96aaac0000000h
DQ 3faa30a9d0000000h
DQ 3faaf5f920000000h
DQ 3fabba9a00000000h
DQ 3fac7e8d90000000h
DQ 3fad41d510000000h
DQ 3fae0471a0000000h
DQ 3faec66470000000h
DQ 3faf87aeb0000000h
DQ 3fb02428c0000000h
DQ 3fb08426f0000000h
DQ 3fb0e3d290000000h
DQ 3fb1432c30000000h
DQ 3fb1a23440000000h
DQ 3fb200eb60000000h
DQ 3fb25f5210000000h
DQ 3fb2bd68e0000000h
DQ 3fb31b3050000000h
DQ 3fb378a8e0000000h
DQ 3fb3d5d330000000h
DQ 3fb432afa0000000h
DQ 3fb48f3ed0000000h
DQ 3fb4eb8120000000h
DQ 3fb5477730000000h
DQ 3fb5a32160000000h
DQ 3fb5fe8040000000h
DQ 3fb6599440000000h
DQ 3fb6b45df0000000h
DQ 3fb70eddb0000000h
DQ 3fb7691400000000h
DQ 3fb7c30160000000h
DQ 3fb81ca630000000h
DQ 3fb8760300000000h
DQ 3fb8cf1830000000h
DQ 3fb927e640000000h
DQ 3fb9806d90000000h
DQ 3fb9d8aea0000000h
DQ 3fba30a9d0000000h
DQ 3fba885fa0000000h
DQ 3fbadfd070000000h
DQ 3fbb36fcb0000000h
DQ 3fbb8de4d0000000h
DQ 3fbbe48930000000h
DQ 3fbc3aea40000000h
DQ 3fbc910870000000h
DQ 3fbce6e410000000h
DQ 3fbd3c7da0000000h
DQ 3fbd91d580000000h
DQ 3fbde6ec00000000h
DQ 3fbe3bc1a0000000h
DQ 3fbe9056b0000000h
DQ 3fbee4aba0000000h
DQ 3fbf38c0c0000000h
DQ 3fbf8c9680000000h
DQ 3fbfe02d30000000h
DQ 3fc019c2a0000000h
DQ 3fc0434f70000000h
DQ 3fc06cbd60000000h
DQ 3fc0960c80000000h
DQ 3fc0bf3d00000000h
DQ 3fc0e84f10000000h
DQ 3fc11142f0000000h
DQ 3fc13a18a0000000h
DQ 3fc162d080000000h
DQ 3fc18b6a90000000h
DQ 3fc1b3e710000000h
DQ 3fc1dc4630000000h
DQ 3fc2048810000000h
DQ 3fc22cace0000000h
DQ 3fc254b4d0000000h
DQ 3fc27c9ff0000000h
DQ 3fc2a46e80000000h
DQ 3fc2cc20b0000000h
DQ 3fc2f3b690000000h
DQ 3fc31b3050000000h
DQ 3fc3428e20000000h
DQ 3fc369d020000000h
DQ 3fc390f680000000h
DQ 3fc3b80160000000h
DQ 3fc3def0e0000000h
DQ 3fc405c530000000h
DQ 3fc42c7e70000000h
DQ 3fc4531cd0000000h
DQ 3fc479a070000000h
DQ 3fc4a00970000000h
DQ 3fc4c65800000000h
DQ 3fc4ec8c30000000h
DQ 3fc512a640000000h
DQ 3fc538a630000000h
DQ 3fc55e8c50000000h
DQ 3fc5845890000000h
DQ 3fc5aa0b40000000h
DQ 3fc5cfa470000000h
DQ 3fc5f52440000000h
DQ 3fc61a8ad0000000h
DQ 3fc63fd850000000h
DQ 3fc6650cd0000000h
DQ 3fc68a2880000000h
DQ 3fc6af2b80000000h
DQ 3fc6d415e0000000h
DQ 3fc6f8e7d0000000h
DQ 3fc71da170000000h
DQ 3fc74242e0000000h
DQ 3fc766cc40000000h
DQ 3fc78b3da0000000h
DQ 3fc7af9730000000h
DQ 3fc7d3d910000000h
DQ 3fc7f80350000000h
DQ 3fc81c1620000000h
DQ 3fc8401190000000h
DQ 3fc863f5c0000000h
DQ 3fc887c2e0000000h
DQ 3fc8ab7900000000h
DQ 3fc8cf1830000000h
DQ 3fc8f2a0a0000000h
DQ 3fc9161270000000h
DQ 3fc9396db0000000h
DQ 3fc95cb280000000h
DQ 3fc97fe100000000h
DQ 3fc9a2f950000000h
DQ 3fc9c5fb70000000h
DQ 3fc9e8e7b0000000h
DQ 3fca0bbdf0000000h
DQ 3fca2e7e80000000h
DQ 3fca512960000000h
DQ 3fca73bea0000000h
DQ 3fca963e70000000h
DQ 3fcab8a8f0000000h
DQ 3fcadafe20000000h
DQ 3fcafd3e30000000h
DQ 3fcb1f6930000000h
DQ 3fcb417f40000000h
DQ 3fcb638070000000h
DQ 3fcb856cf0000000h
DQ 3fcba744b0000000h
DQ 3fcbc907f0000000h
DQ 3fcbeab6c0000000h
DQ 3fcc0c5130000000h
DQ 3fcc2dd750000000h
DQ 3fcc4f4950000000h
DQ 3fcc70a740000000h
DQ 3fcc91f130000000h
DQ 3fccb32740000000h
DQ 3fccd44980000000h
DQ 3fccf55810000000h
DQ 3fcd165300000000h
DQ 3fcd373a60000000h
DQ 3fcd580e60000000h
DQ 3fcd78cf00000000h
DQ 3fcd997c70000000h
DQ 3fcdba16a0000000h
DQ 3fcdda9dd0000000h
DQ 3fcdfb11f0000000h
DQ 3fce1b7330000000h
DQ 3fce3bc1a0000000h
DQ 3fce5bfd50000000h
DQ 3fce7c2660000000h
DQ 3fce9c3ce0000000h
DQ 3fcebc40e0000000h
DQ 3fcedc3280000000h
DQ 3fcefc11d0000000h
DQ 3fcf1bdee0000000h
DQ 3fcf3b99d0000000h
DQ 3fcf5b42a0000000h
DQ 3fcf7ad980000000h
DQ 3fcf9a5e70000000h
DQ 3fcfb9d190000000h
DQ 3fcfd932f0000000h
DQ 3fcff882a0000000h
DQ 3fd00be050000000h
DQ 3fd01b76a0000000h
DQ 3fd02b0430000000h
DQ 3fd03a8910000000h
DQ 3fd04a0540000000h
DQ 3fd05978e0000000h
DQ 3fd068e3f0000000h
DQ 3fd0784670000000h
DQ 3fd087a080000000h
DQ 3fd096f210000000h
DQ 3fd0a63b30000000h
DQ 3fd0b57bf0000000h
DQ 3fd0c4b450000000h
DQ 3fd0d3e460000000h
DQ 3fd0e30c30000000h
DQ 3fd0f22bc0000000h
DQ 3fd1014310000000h
DQ 3fd1105240000000h
DQ 3fd11f5940000000h
DQ 3fd12e5830000000h
DQ 3fd13d4f00000000h
DQ 3fd14c3dd0000000h
DQ 3fd15b24a0000000h
DQ 3fd16a0370000000h
DQ 3fd178da50000000h
DQ 3fd187a940000000h
DQ 3fd1967060000000h
DQ 3fd1a52fa0000000h
DQ 3fd1b3e710000000h
DQ 3fd1c296c0000000h
DQ 3fd1d13eb0000000h
DQ 3fd1dfdef0000000h
DQ 3fd1ee7770000000h
DQ 3fd1fd0860000000h
DQ 3fd20b91a0000000h
DQ 3fd21a1350000000h
DQ 3fd2288d70000000h
DQ 3fd2370010000000h
DQ 3fd2456b30000000h
DQ 3fd253ced0000000h
DQ 3fd2622b00000000h
DQ 3fd2707fd0000000h
DQ 3fd27ecd40000000h
DQ 3fd28d1360000000h
DQ 3fd29b5220000000h
DQ 3fd2a989a0000000h
DQ 3fd2b7b9e0000000h
DQ 3fd2c5e2e0000000h
DQ 3fd2d404b0000000h
DQ 3fd2e21f50000000h
DQ 3fd2f032c0000000h
DQ 3fd2fe3f20000000h
DQ 3fd30c4470000000h
DQ 3fd31a42b0000000h
DQ 3fd32839e0000000h
DQ 3fd3362a10000000h
DQ 3fd3441350000000h
ALIGN 16
PUBLIC __log10_256_tail
__log10_256_tail:
DQ 0000000000000000h
DQ 3db20abc22b2208fh
DQ 3db10f69332e0dd4h
DQ 3dce950de87ed257h
DQ 3dd3f3443b626d69h
DQ 3df45aeaa5363e57h
DQ 3dc443683ce1bf0bh
DQ 3df989cd60c6a511h
DQ 3dfd626f201f2e9fh
DQ 3de94f8bb8dabdcdh
DQ 3e0088d8ef423015h
DQ 3e080413a62b79adh
DQ 3e059717c0eed3c4h
DQ 3dad4a77add44902h
DQ 3e0e763ff037300eh
DQ 3de162d74706f6c3h
DQ 3e0601cc1f4dbc14h
DQ 3deaf3e051f6e5bfh
DQ 3e097a0b1e1af3ebh
DQ 3dc0a38970c002c7h
DQ 3e102e000057c751h
DQ 3e155b00eecd6e0eh
DQ 3ddf86297003b5afh
DQ 3e1057b9b336a36dh
DQ 3e134bc84a06ea4fh
DQ 3e1643da9ea1bcadh
DQ 3e1d66a7b4f7ea2ah
DQ 3df6b2e038f7fcefh
DQ 3df3e954c670f088h
DQ 3e047209093acab3h
DQ 3e1d708fe7275da7h
DQ 3e1fdf9e7771b9e7h
DQ 3e0827bfa70a0660h
DQ 3e1601cc1f4dbc14h
DQ 3e0637f6106a5e5bh
DQ 3e126a13f17c624bh
DQ 3e093eb2ce80623ah
DQ 3e1430d1e91594deh
DQ 3e1d6b10108fa031h
DQ 3e16879c0bbaf241h
DQ 3dff08015ea6bc2bh
DQ 3e29b63dcdc6676ch
DQ 3e2b022cbcc4ab2ch
DQ 3df917d07ddd6544h
DQ 3e1540605703379eh
DQ 3e0cd18b947a1b60h
DQ 3e17ad65277ca97eh
DQ 3e11884dc59f5fa9h
DQ 3e1711c46006d082h
DQ 3e2f092e3c3108f8h
DQ 3e1714c5e32be13ah
DQ 3e26bba7fd734f9ah
DQ 3dfdf48fb5e08483h
DQ 3e232f9bc74d0b95h
DQ 3df973e848790c13h
DQ 3e1eccbc08c6586eh
DQ 3e2115e9f9524a98h
DQ 3e2f1740593131b8h
DQ 3e1bcf8b25643835h
DQ 3e1f5fa81d8bed80h
DQ 3e244a4df929d9e4h
DQ 3e129820d8220c94h
DQ 3e2a0b489304e309h
DQ 3e1f4d56aba665feh
DQ 3e210c9019365163h
DQ 3df80f78fe592736h
DQ 3e10528825c81ccah
DQ 3de095537d6d746ah
DQ 3e1827bfa70a0660h
DQ 3e06b0a8ec45933ch
DQ 3e105af81bf5dba9h
DQ 3e17e2fa2655d515h
DQ 3e0d59ecbfaee4bfh
DQ 3e1d8b2fda683fa3h
DQ 3e24b8ddfd3a3737h
DQ 3e13827e61ae1204h
DQ 3e2c8c7b49e90f9fh
DQ 3e29eaf01597591dh
DQ 3e19aaa66e317b36h
DQ 3e2e725609720655h
DQ 3e261c33fc7aac54h
DQ 3e29662bcf61a252h
DQ 3e1843c811c42730h
DQ 3e2064bb0b5acb36h
DQ 3e0a340c842701a4h
DQ 3e1a8e55b58f79d6h
DQ 3de92d219c5e9d9ah
DQ 3e3f63e60d7ffd6ah
DQ 3e2e9b0ed9516314h
DQ 3e2923901962350ch
DQ 3e326f8838785e81h
DQ 3e3b5b6a4caba6afh
DQ 3df0226adc8e761ch
DQ 3e3c4ad7313a1aedh
DQ 3e1564e87c738d17h
DQ 3e338fecf18a6618h
DQ 3e3d929ef5777666h
DQ 3e39483bf08da0b8h
DQ 3e3bdd0eeeaa5826h
DQ 3e39c4dd590237bah
DQ 3e1af3e9e0ebcac7h
DQ 3e35ce5382270dach
DQ 3e394f74532ab9bah
DQ 3e07342795888654h
DQ 3e0c5a000be34bf0h
DQ 3e2711c46006d082h
DQ 3e250025b4ed8cf8h
DQ 3e2ed18bcef2d2a0h
DQ 3e21282e0c0a7554h
DQ 3e0d70f33359a7cah
DQ 3e2b7f7e13a84025h
DQ 3e33306ec321891eh
DQ 3e3fc7f8038b7550h
DQ 3e3eb0358cd71d64h
DQ 3e3a76c822859474h
DQ 3e3d0ec652de86e3h
DQ 3e2fa4cce08658afh
DQ 3e3b84a2d2c00a9eh
DQ 3e20a5b0f2c25bd1h
DQ 3e3dd660225bf699h
DQ 3e08b10f859bf037h
DQ 3e3e8823b590cbe1h
DQ 3e361311f31e96f6h
DQ 3e2e1f875ca20f9ah
DQ 3e2c95724939b9a5h
DQ 3e3805957a3e58e2h
DQ 3e2ff126ea9f0334h
DQ 3e3953f5598e5609h
DQ 3e36c16ff856c448h
DQ 3e24cb220ff261f4h
DQ 3e35e120d53d53a2h
DQ 3e3a527f6189f256h
DQ 3e3856fcffd49c0fh
DQ 3e300c2e8228d7dah
DQ 3df113d09444dfe0h
DQ 3e2510630eea59a6h
DQ 3e262e780f32d711h
DQ 3ded3ed91a10f8cfh
DQ 3e23654a7e4bcd85h
DQ 3e055b784980ad21h
DQ 3e212f2dd4b16e64h
DQ 3e37c4add939f50ch
DQ 3e281784627180fch
DQ 3dea5162c7e14961h
DQ 3e310c9019365163h
DQ 3e373c4d2ba17688h
DQ 3e2ae8a5e0e93d81h
DQ 3e2ab0c6f01621afh
DQ 3e301e8b74dd5b66h
DQ 3e2d206fecbb5494h
DQ 3df0b48b724fcc00h
DQ 3e3f831f0b61e229h
DQ 3df81a97c407bcafh
DQ 3e3e286c1ccbb7aah
DQ 3e28630b49220a93h
DQ 3dff0b15c1a22c5ch
DQ 3e355445e71c0946h
DQ 3e3be630f8066d85h
DQ 3e2599dff0d96c39h
DQ 3e36cc85b18fb081h
DQ 3e34476d001ea8c8h
DQ 3e373f889e16d31fh
DQ 3e3357100d792a87h
DQ 3e3bd179ae6101f6h
DQ 3e0ca31056c3f6e2h
DQ 3e3d2870629c08fbh
DQ 3e3aba3880d2673fh
DQ 3e2c3633cb297da6h
DQ 3e21843899efea02h
DQ 3e3bccc99d2008e6h
DQ 3e38000544bdd350h
DQ 3e2b91c226606ae1h
DQ 3e2a7adf26b62bdfh
DQ 3e18764fc8826ec9h
DQ 3e1f4f3de50f68f0h
DQ 3df760ca757995e3h
DQ 3dfc667ed3805147h
DQ 3e3733f6196adf6fh
DQ 3e2fb710f33e836bh
DQ 3e39886eba641013h
DQ 3dfb5368d0af8c1ah
DQ 3e358c691b8d2971h
DQ 3dfe9465226d08fbh
DQ 3e33587e063f0097h
DQ 3e3618e702129f18h
DQ 3e361c33fc7aac54h
DQ 3e3f07a68408604ah
DQ 3e3c34bfe4945421h
DQ 3e38b1f00e41300bh
DQ 3e3f434284d61b63h
DQ 3e3a63095e397436h
DQ 3e34428656b919deh
DQ 3e36ca9201b2d9a6h
DQ 3e2738823a2a931ch
DQ 3e3c11880e179230h
DQ 3e313ddc8d6d52feh
DQ 3e33eed58922e917h
DQ 3e295992846bdd50h
DQ 3e0ddb4d5f2e278bh
DQ 3df1a5f12a0635c4h
DQ 3e4642f0882c3c34h
DQ 3e2aee9ba7f6475eh
DQ 3e264b7f834a60e4h
DQ 3e290d42e243792eh
DQ 3e4c272008134f01h
DQ 3e4a782e16d6cf5bh
DQ 3e44505c79da6648h
DQ 3e4ca9d4ea4dcd21h
DQ 3e297d3d627cd5bch
DQ 3e20b15cf9bcaa13h
DQ 3e315b2063cf76ddh
DQ 3e2983e6f3aa2748h
DQ 3e3f4c64f4ffe994h
DQ 3e46beba7ce85a0fh
DQ 3e3b9c69fd4ea6b8h
DQ 3e2b6aa5835fa4abh
DQ 3e43ccc3790fedd1h
DQ 3e29c04cc4404fe0h
DQ 3e40734b7a75d89dh
DQ 3e1b4404c4e01612h
DQ 3e40c565c2ce4894h
DQ 3e33c71441d935cdh
DQ 3d72a492556b3b4eh
DQ 3e20fa090341dc43h
DQ 3e2e8f7009e3d9f4h
DQ 3e4b1bf68b048a45h
DQ 3e3eee52dffaa956h
DQ 3e456b0900e465bdh
DQ 3e4d929ef5777666h
DQ 3e486ea28637e260h
DQ 3e4665aff10ca2f0h
DQ 3e2f11fdaf48ec74h
DQ 3e4cbe1b86a4d1c7h
DQ 3e25b05bfea87665h
DQ 3e41cec20a1a4a1dh
DQ 3e41cd5f0a409b9fh
DQ 3e453656c8265070h
DQ 3e377ed835282260h
DQ 3e2417bc3040b9d2h
DQ 3e408eef7b79eff2h
DQ 3e4dc76f39dc57e9h
DQ 3e4c0493a70cf457h
DQ 3e4a83d6cea5a60ch
DQ 3e30d6700dc557bah
DQ 3e44c96c12e8bd0ah
DQ 3e3d2c1993e32315h
DQ 3e22c721135f8242h
DQ 3e279a3e4dda747dh
DQ 3dfcf89f6941a72bh
DQ 3e2149a702f10831h
DQ 3e4ead4b7c8175dbh
DQ 3e4e6930fe63e70ah
DQ 3e41e106bed9ee2fh
DQ 3e2d682b82f11c92h
DQ 3e3a07f188dba47ch
DQ 3e40f9342dc172f6h
DQ 3e03ef3fde623e25h
END

View file

@ -0,0 +1,553 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log10_256_lead and __log10_256_tail tables
** Used by log and pow
**
*/
#include <crtdefs.h>
const unsigned long long _CRT_ALIGN(16) __log10_256_lead[] =
{
0x0000000000000000ull,
0x3f5bbd9e90000000ull,
0x3f6bafd470000000ull,
0x3f74b99560000000ull,
0x3f7b9476a0000000ull,
0x3f81344da0000000ull,
0x3f849b0850000000ull,
0x3f87fe71c0000000ull,
0x3f8b5e9080000000ull,
0x3f8ebb6af0000000ull,
0x3f910a83a0000000ull,
0x3f92b5b5e0000000ull,
0x3f945f4f50000000ull,
0x3f96075300000000ull,
0x3f97adc3d0000000ull,
0x3f9952a4f0000000ull,
0x3f9af5f920000000ull,
0x3f9c97c370000000ull,
0x3f9e3806a0000000ull,
0x3f9fd6c5b0000000ull,
0x3fa0ba01a0000000ull,
0x3fa187e120000000ull,
0x3fa25502c0000000ull,
0x3fa32167c0000000ull,
0x3fa3ed1190000000ull,
0x3fa4b80180000000ull,
0x3fa58238e0000000ull,
0x3fa64bb910000000ull,
0x3fa7148340000000ull,
0x3fa7dc98c0000000ull,
0x3fa8a3fad0000000ull,
0x3fa96aaac0000000ull,
0x3faa30a9d0000000ull,
0x3faaf5f920000000ull,
0x3fabba9a00000000ull,
0x3fac7e8d90000000ull,
0x3fad41d510000000ull,
0x3fae0471a0000000ull,
0x3faec66470000000ull,
0x3faf87aeb0000000ull,
0x3fb02428c0000000ull,
0x3fb08426f0000000ull,
0x3fb0e3d290000000ull,
0x3fb1432c30000000ull,
0x3fb1a23440000000ull,
0x3fb200eb60000000ull,
0x3fb25f5210000000ull,
0x3fb2bd68e0000000ull,
0x3fb31b3050000000ull,
0x3fb378a8e0000000ull,
0x3fb3d5d330000000ull,
0x3fb432afa0000000ull,
0x3fb48f3ed0000000ull,
0x3fb4eb8120000000ull,
0x3fb5477730000000ull,
0x3fb5a32160000000ull,
0x3fb5fe8040000000ull,
0x3fb6599440000000ull,
0x3fb6b45df0000000ull,
0x3fb70eddb0000000ull,
0x3fb7691400000000ull,
0x3fb7c30160000000ull,
0x3fb81ca630000000ull,
0x3fb8760300000000ull,
0x3fb8cf1830000000ull,
0x3fb927e640000000ull,
0x3fb9806d90000000ull,
0x3fb9d8aea0000000ull,
0x3fba30a9d0000000ull,
0x3fba885fa0000000ull,
0x3fbadfd070000000ull,
0x3fbb36fcb0000000ull,
0x3fbb8de4d0000000ull,
0x3fbbe48930000000ull,
0x3fbc3aea40000000ull,
0x3fbc910870000000ull,
0x3fbce6e410000000ull,
0x3fbd3c7da0000000ull,
0x3fbd91d580000000ull,
0x3fbde6ec00000000ull,
0x3fbe3bc1a0000000ull,
0x3fbe9056b0000000ull,
0x3fbee4aba0000000ull,
0x3fbf38c0c0000000ull,
0x3fbf8c9680000000ull,
0x3fbfe02d30000000ull,
0x3fc019c2a0000000ull,
0x3fc0434f70000000ull,
0x3fc06cbd60000000ull,
0x3fc0960c80000000ull,
0x3fc0bf3d00000000ull,
0x3fc0e84f10000000ull,
0x3fc11142f0000000ull,
0x3fc13a18a0000000ull,
0x3fc162d080000000ull,
0x3fc18b6a90000000ull,
0x3fc1b3e710000000ull,
0x3fc1dc4630000000ull,
0x3fc2048810000000ull,
0x3fc22cace0000000ull,
0x3fc254b4d0000000ull,
0x3fc27c9ff0000000ull,
0x3fc2a46e80000000ull,
0x3fc2cc20b0000000ull,
0x3fc2f3b690000000ull,
0x3fc31b3050000000ull,
0x3fc3428e20000000ull,
0x3fc369d020000000ull,
0x3fc390f680000000ull,
0x3fc3b80160000000ull,
0x3fc3def0e0000000ull,
0x3fc405c530000000ull,
0x3fc42c7e70000000ull,
0x3fc4531cd0000000ull,
0x3fc479a070000000ull,
0x3fc4a00970000000ull,
0x3fc4c65800000000ull,
0x3fc4ec8c30000000ull,
0x3fc512a640000000ull,
0x3fc538a630000000ull,
0x3fc55e8c50000000ull,
0x3fc5845890000000ull,
0x3fc5aa0b40000000ull,
0x3fc5cfa470000000ull,
0x3fc5f52440000000ull,
0x3fc61a8ad0000000ull,
0x3fc63fd850000000ull,
0x3fc6650cd0000000ull,
0x3fc68a2880000000ull,
0x3fc6af2b80000000ull,
0x3fc6d415e0000000ull,
0x3fc6f8e7d0000000ull,
0x3fc71da170000000ull,
0x3fc74242e0000000ull,
0x3fc766cc40000000ull,
0x3fc78b3da0000000ull,
0x3fc7af9730000000ull,
0x3fc7d3d910000000ull,
0x3fc7f80350000000ull,
0x3fc81c1620000000ull,
0x3fc8401190000000ull,
0x3fc863f5c0000000ull,
0x3fc887c2e0000000ull,
0x3fc8ab7900000000ull,
0x3fc8cf1830000000ull,
0x3fc8f2a0a0000000ull,
0x3fc9161270000000ull,
0x3fc9396db0000000ull,
0x3fc95cb280000000ull,
0x3fc97fe100000000ull,
0x3fc9a2f950000000ull,
0x3fc9c5fb70000000ull,
0x3fc9e8e7b0000000ull,
0x3fca0bbdf0000000ull,
0x3fca2e7e80000000ull,
0x3fca512960000000ull,
0x3fca73bea0000000ull,
0x3fca963e70000000ull,
0x3fcab8a8f0000000ull,
0x3fcadafe20000000ull,
0x3fcafd3e30000000ull,
0x3fcb1f6930000000ull,
0x3fcb417f40000000ull,
0x3fcb638070000000ull,
0x3fcb856cf0000000ull,
0x3fcba744b0000000ull,
0x3fcbc907f0000000ull,
0x3fcbeab6c0000000ull,
0x3fcc0c5130000000ull,
0x3fcc2dd750000000ull,
0x3fcc4f4950000000ull,
0x3fcc70a740000000ull,
0x3fcc91f130000000ull,
0x3fccb32740000000ull,
0x3fccd44980000000ull,
0x3fccf55810000000ull,
0x3fcd165300000000ull,
0x3fcd373a60000000ull,
0x3fcd580e60000000ull,
0x3fcd78cf00000000ull,
0x3fcd997c70000000ull,
0x3fcdba16a0000000ull,
0x3fcdda9dd0000000ull,
0x3fcdfb11f0000000ull,
0x3fce1b7330000000ull,
0x3fce3bc1a0000000ull,
0x3fce5bfd50000000ull,
0x3fce7c2660000000ull,
0x3fce9c3ce0000000ull,
0x3fcebc40e0000000ull,
0x3fcedc3280000000ull,
0x3fcefc11d0000000ull,
0x3fcf1bdee0000000ull,
0x3fcf3b99d0000000ull,
0x3fcf5b42a0000000ull,
0x3fcf7ad980000000ull,
0x3fcf9a5e70000000ull,
0x3fcfb9d190000000ull,
0x3fcfd932f0000000ull,
0x3fcff882a0000000ull,
0x3fd00be050000000ull,
0x3fd01b76a0000000ull,
0x3fd02b0430000000ull,
0x3fd03a8910000000ull,
0x3fd04a0540000000ull,
0x3fd05978e0000000ull,
0x3fd068e3f0000000ull,
0x3fd0784670000000ull,
0x3fd087a080000000ull,
0x3fd096f210000000ull,
0x3fd0a63b30000000ull,
0x3fd0b57bf0000000ull,
0x3fd0c4b450000000ull,
0x3fd0d3e460000000ull,
0x3fd0e30c30000000ull,
0x3fd0f22bc0000000ull,
0x3fd1014310000000ull,
0x3fd1105240000000ull,
0x3fd11f5940000000ull,
0x3fd12e5830000000ull,
0x3fd13d4f00000000ull,
0x3fd14c3dd0000000ull,
0x3fd15b24a0000000ull,
0x3fd16a0370000000ull,
0x3fd178da50000000ull,
0x3fd187a940000000ull,
0x3fd1967060000000ull,
0x3fd1a52fa0000000ull,
0x3fd1b3e710000000ull,
0x3fd1c296c0000000ull,
0x3fd1d13eb0000000ull,
0x3fd1dfdef0000000ull,
0x3fd1ee7770000000ull,
0x3fd1fd0860000000ull,
0x3fd20b91a0000000ull,
0x3fd21a1350000000ull,
0x3fd2288d70000000ull,
0x3fd2370010000000ull,
0x3fd2456b30000000ull,
0x3fd253ced0000000ull,
0x3fd2622b00000000ull,
0x3fd2707fd0000000ull,
0x3fd27ecd40000000ull,
0x3fd28d1360000000ull,
0x3fd29b5220000000ull,
0x3fd2a989a0000000ull,
0x3fd2b7b9e0000000ull,
0x3fd2c5e2e0000000ull,
0x3fd2d404b0000000ull,
0x3fd2e21f50000000ull,
0x3fd2f032c0000000ull,
0x3fd2fe3f20000000ull,
0x3fd30c4470000000ull,
0x3fd31a42b0000000ull,
0x3fd32839e0000000ull,
0x3fd3362a10000000ull,
0x3fd3441350000000ull,
};
const unsigned long long _CRT_ALIGN(16) __log10_256_tail[] =
{
0x0000000000000000ull,
0x3db20abc22b2208full,
0x3db10f69332e0dd4ull,
0x3dce950de87ed257ull,
0x3dd3f3443b626d69ull,
0x3df45aeaa5363e57ull,
0x3dc443683ce1bf0bull,
0x3df989cd60c6a511ull,
0x3dfd626f201f2e9full,
0x3de94f8bb8dabdcdull,
0x3e0088d8ef423015ull,
0x3e080413a62b79adull,
0x3e059717c0eed3c4ull,
0x3dad4a77add44902ull,
0x3e0e763ff037300eull,
0x3de162d74706f6c3ull,
0x3e0601cc1f4dbc14ull,
0x3deaf3e051f6e5bfull,
0x3e097a0b1e1af3ebull,
0x3dc0a38970c002c7ull,
0x3e102e000057c751ull,
0x3e155b00eecd6e0eull,
0x3ddf86297003b5afull,
0x3e1057b9b336a36dull,
0x3e134bc84a06ea4full,
0x3e1643da9ea1bcadull,
0x3e1d66a7b4f7ea2aull,
0x3df6b2e038f7fcefull,
0x3df3e954c670f088ull,
0x3e047209093acab3ull,
0x3e1d708fe7275da7ull,
0x3e1fdf9e7771b9e7ull,
0x3e0827bfa70a0660ull,
0x3e1601cc1f4dbc14ull,
0x3e0637f6106a5e5bull,
0x3e126a13f17c624bull,
0x3e093eb2ce80623aull,
0x3e1430d1e91594deull,
0x3e1d6b10108fa031ull,
0x3e16879c0bbaf241ull,
0x3dff08015ea6bc2bull,
0x3e29b63dcdc6676cull,
0x3e2b022cbcc4ab2cull,
0x3df917d07ddd6544ull,
0x3e1540605703379eull,
0x3e0cd18b947a1b60ull,
0x3e17ad65277ca97eull,
0x3e11884dc59f5fa9ull,
0x3e1711c46006d082ull,
0x3e2f092e3c3108f8ull,
0x3e1714c5e32be13aull,
0x3e26bba7fd734f9aull,
0x3dfdf48fb5e08483ull,
0x3e232f9bc74d0b95ull,
0x3df973e848790c13ull,
0x3e1eccbc08c6586eull,
0x3e2115e9f9524a98ull,
0x3e2f1740593131b8ull,
0x3e1bcf8b25643835ull,
0x3e1f5fa81d8bed80ull,
0x3e244a4df929d9e4ull,
0x3e129820d8220c94ull,
0x3e2a0b489304e309ull,
0x3e1f4d56aba665feull,
0x3e210c9019365163ull,
0x3df80f78fe592736ull,
0x3e10528825c81ccaull,
0x3de095537d6d746aull,
0x3e1827bfa70a0660ull,
0x3e06b0a8ec45933cull,
0x3e105af81bf5dba9ull,
0x3e17e2fa2655d515ull,
0x3e0d59ecbfaee4bfull,
0x3e1d8b2fda683fa3ull,
0x3e24b8ddfd3a3737ull,
0x3e13827e61ae1204ull,
0x3e2c8c7b49e90f9full,
0x3e29eaf01597591dull,
0x3e19aaa66e317b36ull,
0x3e2e725609720655ull,
0x3e261c33fc7aac54ull,
0x3e29662bcf61a252ull,
0x3e1843c811c42730ull,
0x3e2064bb0b5acb36ull,
0x3e0a340c842701a4ull,
0x3e1a8e55b58f79d6ull,
0x3de92d219c5e9d9aull,
0x3e3f63e60d7ffd6aull,
0x3e2e9b0ed9516314ull,
0x3e2923901962350cull,
0x3e326f8838785e81ull,
0x3e3b5b6a4caba6afull,
0x3df0226adc8e761cull,
0x3e3c4ad7313a1aedull,
0x3e1564e87c738d17ull,
0x3e338fecf18a6618ull,
0x3e3d929ef5777666ull,
0x3e39483bf08da0b8ull,
0x3e3bdd0eeeaa5826ull,
0x3e39c4dd590237baull,
0x3e1af3e9e0ebcac7ull,
0x3e35ce5382270dacull,
0x3e394f74532ab9baull,
0x3e07342795888654ull,
0x3e0c5a000be34bf0ull,
0x3e2711c46006d082ull,
0x3e250025b4ed8cf8ull,
0x3e2ed18bcef2d2a0ull,
0x3e21282e0c0a7554ull,
0x3e0d70f33359a7caull,
0x3e2b7f7e13a84025ull,
0x3e33306ec321891eull,
0x3e3fc7f8038b7550ull,
0x3e3eb0358cd71d64ull,
0x3e3a76c822859474ull,
0x3e3d0ec652de86e3ull,
0x3e2fa4cce08658afull,
0x3e3b84a2d2c00a9eull,
0x3e20a5b0f2c25bd1ull,
0x3e3dd660225bf699ull,
0x3e08b10f859bf037ull,
0x3e3e8823b590cbe1ull,
0x3e361311f31e96f6ull,
0x3e2e1f875ca20f9aull,
0x3e2c95724939b9a5ull,
0x3e3805957a3e58e2ull,
0x3e2ff126ea9f0334ull,
0x3e3953f5598e5609ull,
0x3e36c16ff856c448ull,
0x3e24cb220ff261f4ull,
0x3e35e120d53d53a2ull,
0x3e3a527f6189f256ull,
0x3e3856fcffd49c0full,
0x3e300c2e8228d7daull,
0x3df113d09444dfe0ull,
0x3e2510630eea59a6ull,
0x3e262e780f32d711ull,
0x3ded3ed91a10f8cfull,
0x3e23654a7e4bcd85ull,
0x3e055b784980ad21ull,
0x3e212f2dd4b16e64ull,
0x3e37c4add939f50cull,
0x3e281784627180fcull,
0x3dea5162c7e14961ull,
0x3e310c9019365163ull,
0x3e373c4d2ba17688ull,
0x3e2ae8a5e0e93d81ull,
0x3e2ab0c6f01621afull,
0x3e301e8b74dd5b66ull,
0x3e2d206fecbb5494ull,
0x3df0b48b724fcc00ull,
0x3e3f831f0b61e229ull,
0x3df81a97c407bcafull,
0x3e3e286c1ccbb7aaull,
0x3e28630b49220a93ull,
0x3dff0b15c1a22c5cull,
0x3e355445e71c0946ull,
0x3e3be630f8066d85ull,
0x3e2599dff0d96c39ull,
0x3e36cc85b18fb081ull,
0x3e34476d001ea8c8ull,
0x3e373f889e16d31full,
0x3e3357100d792a87ull,
0x3e3bd179ae6101f6ull,
0x3e0ca31056c3f6e2ull,
0x3e3d2870629c08fbull,
0x3e3aba3880d2673full,
0x3e2c3633cb297da6ull,
0x3e21843899efea02ull,
0x3e3bccc99d2008e6ull,
0x3e38000544bdd350ull,
0x3e2b91c226606ae1ull,
0x3e2a7adf26b62bdfull,
0x3e18764fc8826ec9ull,
0x3e1f4f3de50f68f0ull,
0x3df760ca757995e3ull,
0x3dfc667ed3805147ull,
0x3e3733f6196adf6full,
0x3e2fb710f33e836bull,
0x3e39886eba641013ull,
0x3dfb5368d0af8c1aull,
0x3e358c691b8d2971ull,
0x3dfe9465226d08fbull,
0x3e33587e063f0097ull,
0x3e3618e702129f18ull,
0x3e361c33fc7aac54ull,
0x3e3f07a68408604aull,
0x3e3c34bfe4945421ull,
0x3e38b1f00e41300bull,
0x3e3f434284d61b63ull,
0x3e3a63095e397436ull,
0x3e34428656b919deull,
0x3e36ca9201b2d9a6ull,
0x3e2738823a2a931cull,
0x3e3c11880e179230ull,
0x3e313ddc8d6d52feull,
0x3e33eed58922e917ull,
0x3e295992846bdd50ull,
0x3e0ddb4d5f2e278bull,
0x3df1a5f12a0635c4ull,
0x3e4642f0882c3c34ull,
0x3e2aee9ba7f6475eull,
0x3e264b7f834a60e4ull,
0x3e290d42e243792eull,
0x3e4c272008134f01ull,
0x3e4a782e16d6cf5bull,
0x3e44505c79da6648ull,
0x3e4ca9d4ea4dcd21ull,
0x3e297d3d627cd5bcull,
0x3e20b15cf9bcaa13ull,
0x3e315b2063cf76ddull,
0x3e2983e6f3aa2748ull,
0x3e3f4c64f4ffe994ull,
0x3e46beba7ce85a0full,
0x3e3b9c69fd4ea6b8ull,
0x3e2b6aa5835fa4abull,
0x3e43ccc3790fedd1ull,
0x3e29c04cc4404fe0ull,
0x3e40734b7a75d89dull,
0x3e1b4404c4e01612ull,
0x3e40c565c2ce4894ull,
0x3e33c71441d935cdull,
0x3d72a492556b3b4eull,
0x3e20fa090341dc43ull,
0x3e2e8f7009e3d9f4ull,
0x3e4b1bf68b048a45ull,
0x3e3eee52dffaa956ull,
0x3e456b0900e465bdull,
0x3e4d929ef5777666ull,
0x3e486ea28637e260ull,
0x3e4665aff10ca2f0ull,
0x3e2f11fdaf48ec74ull,
0x3e4cbe1b86a4d1c7ull,
0x3e25b05bfea87665ull,
0x3e41cec20a1a4a1dull,
0x3e41cd5f0a409b9full,
0x3e453656c8265070ull,
0x3e377ed835282260ull,
0x3e2417bc3040b9d2ull,
0x3e408eef7b79eff2ull,
0x3e4dc76f39dc57e9ull,
0x3e4c0493a70cf457ull,
0x3e4a83d6cea5a60cull,
0x3e30d6700dc557baull,
0x3e44c96c12e8bd0aull,
0x3e3d2c1993e32315ull,
0x3e22c721135f8242ull,
0x3e279a3e4dda747dull,
0x3dfcf89f6941a72bull,
0x3e2149a702f10831ull,
0x3e4ead4b7c8175dbull,
0x3e4e6930fe63e70aull,
0x3e41e106bed9ee2full,
0x3e2d682b82f11c92ull,
0x3e3a07f188dba47cull,
0x3e40f9342dc172f6ull,
0x3e03ef3fde623e25ull,
};

View file

@ -1,294 +0,0 @@
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __log_128_lead and __log_128_tail tables
;; Used by log and pow
;;
.const
ALIGN 16
PUBLIC __log_128_lead
__log_128_lead DD 000000000h
DD 03bff0000h
DD 03c7e0000h
DD 03cbdc000h
DD 03cfc1000h
DD 03d1cf000h
DD 03d3ba000h
DD 03d5a1000h
DD 03d785000h
DD 03d8b2000h
DD 03d9a0000h
DD 03da8d000h
DD 03db78000h
DD 03dc61000h
DD 03dd49000h
DD 03de2f000h
DD 03df13000h
DD 03dff6000h
DD 03e06b000h
DD 03e0db000h
DD 03e14a000h
DD 03e1b8000h
DD 03e226000h
DD 03e293000h
DD 03e2ff000h
DD 03e36b000h
DD 03e3d5000h
DD 03e43f000h
DD 03e4a9000h
DD 03e511000h
DD 03e579000h
DD 03e5e1000h
DD 03e647000h
DD 03e6ae000h
DD 03e713000h
DD 03e778000h
DD 03e7dc000h
DD 03e820000h
DD 03e851000h
DD 03e882000h
DD 03e8b3000h
DD 03e8e4000h
DD 03e914000h
DD 03e944000h
DD 03e974000h
DD 03e9a3000h
DD 03e9d3000h
DD 03ea02000h
DD 03ea30000h
DD 03ea5f000h
DD 03ea8d000h
DD 03eabb000h
DD 03eae8000h
DD 03eb16000h
DD 03eb43000h
DD 03eb70000h
DD 03eb9c000h
DD 03ebc9000h
DD 03ebf5000h
DD 03ec21000h
DD 03ec4d000h
DD 03ec78000h
DD 03eca3000h
DD 03ecce000h
DD 03ecf9000h
DD 03ed24000h
DD 03ed4e000h
DD 03ed78000h
DD 03eda2000h
DD 03edcc000h
DD 03edf5000h
DD 03ee1e000h
DD 03ee47000h
DD 03ee70000h
DD 03ee99000h
DD 03eec1000h
DD 03eeea000h
DD 03ef12000h
DD 03ef3a000h
DD 03ef61000h
DD 03ef89000h
DD 03efb0000h
DD 03efd7000h
DD 03effe000h
DD 03f012000h
DD 03f025000h
DD 03f039000h
DD 03f04c000h
DD 03f05f000h
DD 03f072000h
DD 03f084000h
DD 03f097000h
DD 03f0aa000h
DD 03f0bc000h
DD 03f0cf000h
DD 03f0e1000h
DD 03f0f4000h
DD 03f106000h
DD 03f118000h
DD 03f12a000h
DD 03f13c000h
DD 03f14e000h
DD 03f160000h
DD 03f172000h
DD 03f183000h
DD 03f195000h
DD 03f1a7000h
DD 03f1b8000h
DD 03f1c9000h
DD 03f1db000h
DD 03f1ec000h
DD 03f1fd000h
DD 03f20e000h
DD 03f21f000h
DD 03f230000h
DD 03f241000h
DD 03f252000h
DD 03f263000h
DD 03f273000h
DD 03f284000h
DD 03f295000h
DD 03f2a5000h
DD 03f2b5000h
DD 03f2c6000h
DD 03f2d6000h
DD 03f2e6000h
DD 03f2f7000h
DD 03f307000h
DD 03f317000h
ALIGN 16
PUBLIC __log_128_tail
__log_128_tail DD 000000000h
DD 03429ac41h
DD 035a8b0fch
DD 0368d83eah
DD 0361b0e78h
DD 03687b9feh
DD 03631ec65h
DD 036dd7119h
DD 035c30045h
DD 0379b7751h
DD 037ebcb0dh
DD 037839f83h
DD 037528ae5h
DD 037a2eb18h
DD 036da7495h
DD 036a91eb7h
DD 03783b715h
DD 0371131dbh
DD 0383f3e68h
DD 038156a97h
DD 038297c0fh
DD 0387e100fh
DD 03815b665h
DD 037e5e3a1h
DD 038183853h
DD 035fe719dh
DD 038448108h
DD 038503290h
DD 0373539e8h
DD 0385e0ff1h
DD 03864a740h
DD 03786742dh
DD 0387be3cdh
DD 03685ad3eh
DD 03803b715h
DD 037adcbdch
DD 0380c36afh
DD 0371652d3h
DD 038927139h
DD 038c5fcd7h
DD 038ae55d5h
DD 03818c169h
DD 038a0fde7h
DD 038ad09efh
DD 03862bae1h
DD 038eecd4ch
DD 03798aad2h
DD 037421a1ah
DD 038c5e10eh
DD 037bf2aeeh
DD 0382d872dh
DD 037ee2e8ah
DD 038dedfach
DD 03802f2b9h
DD 038481e9bh
DD 0380eaa2bh
DD 038ebfb5dh
DD 038255fddh
DD 038783b82h
DD 03851da1eh
DD 0374e1b05h
DD 0388f439bh
DD 038ca0e10h
DD 038cac08bh
DD 03891f65fh
DD 0378121cbh
DD 0386c9a9ah
DD 038949923h
DD 038777bcch
DD 037b12d26h
DD 038a6ced3h
DD 038ebd3e6h
DD 038fbe3cdh
DD 038d785c2h
DD 0387e7e00h
DD 038f392c5h
DD 037d40983h
DD 038081a7ch
DD 03784c3adh
DD 038cce923h
DD 0380f5fafh
DD 03891fd38h
DD 038ac47bch
DD 03897042bh
DD 0392952d2h
DD 0396fced4h
DD 037f97073h
DD 0385e9eaeh
DD 03865c84ah
DD 038130ba3h
DD 03979cf16h
DD 03938cac9h
DD 038c3d2f4h
DD 039755dech
DD 038e6b467h
DD 0395c0fb8h
DD 0383ebce0h
DD 038dcd192h
DD 039186bdfh
DD 0392de74ch
DD 0392f0944h
DD 0391bff61h
DD 038e9ed44h
DD 038686dc8h
DD 0396b99a7h
DD 039099c89h
DD 037a27673h
DD 0390bdaa3h
DD 0397069abh
DD 0388449ffh
DD 039013538h
DD 0392dc268h
DD 03947f423h
DD 0394ff17ch
DD 03945e10eh
DD 03929e8f5h
DD 038f85db0h
DD 038735f99h
DD 0396c08dbh
DD 03909e600h
DD 037b4996fh
DD 0391233cch
DD 0397cead9h
DD 038adb5cdh
DD 03920261ah
DD 03958ee36h
DD 035aa4905h
DD 037cbd11eh
DD 03805fdf4h
END

View file

@ -0,0 +1,297 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log_128_lead and __log_128_tail tables
** Used by log and pow
**
*/
#include <crtdefs.h>
const unsigned int _CRT_ALIGN(16) __log_128_lead[] =
{
0x000000000,
0x03bff0000,
0x03c7e0000,
0x03cbdc000,
0x03cfc1000,
0x03d1cf000,
0x03d3ba000,
0x03d5a1000,
0x03d785000,
0x03d8b2000,
0x03d9a0000,
0x03da8d000,
0x03db78000,
0x03dc61000,
0x03dd49000,
0x03de2f000,
0x03df13000,
0x03dff6000,
0x03e06b000,
0x03e0db000,
0x03e14a000,
0x03e1b8000,
0x03e226000,
0x03e293000,
0x03e2ff000,
0x03e36b000,
0x03e3d5000,
0x03e43f000,
0x03e4a9000,
0x03e511000,
0x03e579000,
0x03e5e1000,
0x03e647000,
0x03e6ae000,
0x03e713000,
0x03e778000,
0x03e7dc000,
0x03e820000,
0x03e851000,
0x03e882000,
0x03e8b3000,
0x03e8e4000,
0x03e914000,
0x03e944000,
0x03e974000,
0x03e9a3000,
0x03e9d3000,
0x03ea02000,
0x03ea30000,
0x03ea5f000,
0x03ea8d000,
0x03eabb000,
0x03eae8000,
0x03eb16000,
0x03eb43000,
0x03eb70000,
0x03eb9c000,
0x03ebc9000,
0x03ebf5000,
0x03ec21000,
0x03ec4d000,
0x03ec78000,
0x03eca3000,
0x03ecce000,
0x03ecf9000,
0x03ed24000,
0x03ed4e000,
0x03ed78000,
0x03eda2000,
0x03edcc000,
0x03edf5000,
0x03ee1e000,
0x03ee47000,
0x03ee70000,
0x03ee99000,
0x03eec1000,
0x03eeea000,
0x03ef12000,
0x03ef3a000,
0x03ef61000,
0x03ef89000,
0x03efb0000,
0x03efd7000,
0x03effe000,
0x03f012000,
0x03f025000,
0x03f039000,
0x03f04c000,
0x03f05f000,
0x03f072000,
0x03f084000,
0x03f097000,
0x03f0aa000,
0x03f0bc000,
0x03f0cf000,
0x03f0e1000,
0x03f0f4000,
0x03f106000,
0x03f118000,
0x03f12a000,
0x03f13c000,
0x03f14e000,
0x03f160000,
0x03f172000,
0x03f183000,
0x03f195000,
0x03f1a7000,
0x03f1b8000,
0x03f1c9000,
0x03f1db000,
0x03f1ec000,
0x03f1fd000,
0x03f20e000,
0x03f21f000,
0x03f230000,
0x03f241000,
0x03f252000,
0x03f263000,
0x03f273000,
0x03f284000,
0x03f295000,
0x03f2a5000,
0x03f2b5000,
0x03f2c6000,
0x03f2d6000,
0x03f2e6000,
0x03f2f7000,
0x03f307000,
0x03f317000
};
const unsigned int _CRT_ALIGN(16) __log_128_tail[] =
{
0x000000000,
0x03429ac41,
0x035a8b0fc,
0x0368d83ea,
0x0361b0e78,
0x03687b9fe,
0x03631ec65,
0x036dd7119,
0x035c30045,
0x0379b7751,
0x037ebcb0d,
0x037839f83,
0x037528ae5,
0x037a2eb18,
0x036da7495,
0x036a91eb7,
0x03783b715,
0x0371131db,
0x0383f3e68,
0x038156a97,
0x038297c0f,
0x0387e100f,
0x03815b665,
0x037e5e3a1,
0x038183853,
0x035fe719d,
0x038448108,
0x038503290,
0x0373539e8,
0x0385e0ff1,
0x03864a740,
0x03786742d,
0x0387be3cd,
0x03685ad3e,
0x03803b715,
0x037adcbdc,
0x0380c36af,
0x0371652d3,
0x038927139,
0x038c5fcd7,
0x038ae55d5,
0x03818c169,
0x038a0fde7,
0x038ad09ef,
0x03862bae1,
0x038eecd4c,
0x03798aad2,
0x037421a1a,
0x038c5e10e,
0x037bf2aee,
0x0382d872d,
0x037ee2e8a,
0x038dedfac,
0x03802f2b9,
0x038481e9b,
0x0380eaa2b,
0x038ebfb5d,
0x038255fdd,
0x038783b82,
0x03851da1e,
0x0374e1b05,
0x0388f439b,
0x038ca0e10,
0x038cac08b,
0x03891f65f,
0x0378121cb,
0x0386c9a9a,
0x038949923,
0x038777bcc,
0x037b12d26,
0x038a6ced3,
0x038ebd3e6,
0x038fbe3cd,
0x038d785c2,
0x0387e7e00,
0x038f392c5,
0x037d40983,
0x038081a7c,
0x03784c3ad,
0x038cce923,
0x0380f5faf,
0x03891fd38,
0x038ac47bc,
0x03897042b,
0x0392952d2,
0x0396fced4,
0x037f97073,
0x0385e9eae,
0x03865c84a,
0x038130ba3,
0x03979cf16,
0x03938cac9,
0x038c3d2f4,
0x039755dec,
0x038e6b467,
0x0395c0fb8,
0x0383ebce0,
0x038dcd192,
0x039186bdf,
0x0392de74c,
0x0392f0944,
0x0391bff61,
0x038e9ed44,
0x038686dc8,
0x0396b99a7,
0x039099c89,
0x037a27673,
0x0390bdaa3,
0x0397069ab,
0x0388449ff,
0x039013538,
0x0392dc268,
0x03947f423,
0x0394ff17c,
0x03945e10e,
0x03929e8f5,
0x038f85db0,
0x038735f99,
0x0396c08db,
0x03909e600,
0x037b4996f,
0x0391233cc,
0x0397cead9,
0x038adb5cd,
0x03920261a,
0x03958ee36,
0x035aa4905,
0x037cbd11e,
0x03805fdf4
};

View file

@ -1,554 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __log_256_lead and __log_256_tail tables
;; Used by log and pow
;;
.const
ALIGN 16
PUBLIC __log_256_lead
__log_256_lead DQ 0000000000000000h
DQ 3f6ff00aa0000000h
DQ 3f7fe02a60000000h
DQ 3f87dc4750000000h
DQ 3f8fc0a8b0000000h
DQ 3f93cea440000000h
DQ 3f97b91b00000000h
DQ 3f9b9fc020000000h
DQ 3f9f829b00000000h
DQ 3fa1b0d980000000h
DQ 3fa39e87b0000000h
DQ 3fa58a5ba0000000h
DQ 3fa77458f0000000h
DQ 3fa95c8300000000h
DQ 3fab42dd70000000h
DQ 3fad276b80000000h
DQ 3faf0a30c0000000h
DQ 3fb0759830000000h
DQ 3fb16536e0000000h
DQ 3fb253f620000000h
DQ 3fb341d790000000h
DQ 3fb42edcb0000000h
DQ 3fb51b0730000000h
DQ 3fb60658a0000000h
DQ 3fb6f0d280000000h
DQ 3fb7da7660000000h
DQ 3fb8c345d0000000h
DQ 3fb9ab4240000000h
DQ 3fba926d30000000h
DQ 3fbb78c820000000h
DQ 3fbc5e5480000000h
DQ 3fbd4313d0000000h
DQ 3fbe270760000000h
DQ 3fbf0a30c0000000h
DQ 3fbfec9130000000h
DQ 3fc0671510000000h
DQ 3fc0d77e70000000h
DQ 3fc1478580000000h
DQ 3fc1b72ad0000000h
DQ 3fc2266f10000000h
DQ 3fc29552f0000000h
DQ 3fc303d710000000h
DQ 3fc371fc20000000h
DQ 3fc3dfc2b0000000h
DQ 3fc44d2b60000000h
DQ 3fc4ba36f0000000h
DQ 3fc526e5e0000000h
DQ 3fc59338d0000000h
DQ 3fc5ff3070000000h
DQ 3fc66acd40000000h
DQ 3fc6d60fe0000000h
DQ 3fc740f8f0000000h
DQ 3fc7ab8900000000h
DQ 3fc815c0a0000000h
DQ 3fc87fa060000000h
DQ 3fc8e928d0000000h
DQ 3fc9525a90000000h
DQ 3fc9bb3620000000h
DQ 3fca23bc10000000h
DQ 3fca8becf0000000h
DQ 3fcaf3c940000000h
DQ 3fcb5b5190000000h
DQ 3fcbc28670000000h
DQ 3fcc296850000000h
DQ 3fcc8ff7c0000000h
DQ 3fccf63540000000h
DQ 3fcd5c2160000000h
DQ 3fcdc1bca0000000h
DQ 3fce270760000000h
DQ 3fce8c0250000000h
DQ 3fcef0adc0000000h
DQ 3fcf550a50000000h
DQ 3fcfb91860000000h
DQ 3fd00e6c40000000h
DQ 3fd0402590000000h
DQ 3fd071b850000000h
DQ 3fd0a324e0000000h
DQ 3fd0d46b50000000h
DQ 3fd1058bf0000000h
DQ 3fd1368700000000h
DQ 3fd1675ca0000000h
DQ 3fd1980d20000000h
DQ 3fd1c898c0000000h
DQ 3fd1f8ff90000000h
DQ 3fd22941f0000000h
DQ 3fd2596010000000h
DQ 3fd2895a10000000h
DQ 3fd2b93030000000h
DQ 3fd2e8e2b0000000h
DQ 3fd31871c0000000h
DQ 3fd347dd90000000h
DQ 3fd3772660000000h
DQ 3fd3a64c50000000h
DQ 3fd3d54fa0000000h
DQ 3fd4043080000000h
DQ 3fd432ef20000000h
DQ 3fd4618bc0000000h
DQ 3fd4900680000000h
DQ 3fd4be5f90000000h
DQ 3fd4ec9730000000h
DQ 3fd51aad80000000h
DQ 3fd548a2c0000000h
DQ 3fd5767710000000h
DQ 3fd5a42ab0000000h
DQ 3fd5d1bdb0000000h
DQ 3fd5ff3070000000h
DQ 3fd62c82f0000000h
DQ 3fd659b570000000h
DQ 3fd686c810000000h
DQ 3fd6b3bb20000000h
DQ 3fd6e08ea0000000h
DQ 3fd70d42e0000000h
DQ 3fd739d7f0000000h
DQ 3fd7664e10000000h
DQ 3fd792a550000000h
DQ 3fd7bede00000000h
DQ 3fd7eaf830000000h
DQ 3fd816f410000000h
DQ 3fd842d1d0000000h
DQ 3fd86e9190000000h
DQ 3fd89a3380000000h
DQ 3fd8c5b7c0000000h
DQ 3fd8f11e80000000h
DQ 3fd91c67e0000000h
DQ 3fd9479410000000h
DQ 3fd972a340000000h
DQ 3fd99d9580000000h
DQ 3fd9c86b00000000h
DQ 3fd9f323e0000000h
DQ 3fda1dc060000000h
DQ 3fda484090000000h
DQ 3fda72a490000000h
DQ 3fda9cec90000000h
DQ 3fdac718c0000000h
DQ 3fdaf12930000000h
DQ 3fdb1b1e00000000h
DQ 3fdb44f770000000h
DQ 3fdb6eb590000000h
DQ 3fdb985890000000h
DQ 3fdbc1e080000000h
DQ 3fdbeb4d90000000h
DQ 3fdc149ff0000000h
DQ 3fdc3dd7a0000000h
DQ 3fdc66f4e0000000h
DQ 3fdc8ff7c0000000h
DQ 3fdcb8e070000000h
DQ 3fdce1af00000000h
DQ 3fdd0a63a0000000h
DQ 3fdd32fe70000000h
DQ 3fdd5b7f90000000h
DQ 3fdd83e720000000h
DQ 3fddac3530000000h
DQ 3fddd46a00000000h
DQ 3fddfc8590000000h
DQ 3fde248810000000h
DQ 3fde4c71a0000000h
DQ 3fde744260000000h
DQ 3fde9bfa60000000h
DQ 3fdec399d0000000h
DQ 3fdeeb20c0000000h
DQ 3fdf128f50000000h
DQ 3fdf39e5b0000000h
DQ 3fdf6123f0000000h
DQ 3fdf884a30000000h
DQ 3fdfaf5880000000h
DQ 3fdfd64f20000000h
DQ 3fdffd2e00000000h
DQ 3fe011fab0000000h
DQ 3fe02552a0000000h
DQ 3fe0389ee0000000h
DQ 3fe04bdf90000000h
DQ 3fe05f14b0000000h
DQ 3fe0723e50000000h
DQ 3fe0855c80000000h
DQ 3fe0986f40000000h
DQ 3fe0ab76b0000000h
DQ 3fe0be72e0000000h
DQ 3fe0d163c0000000h
DQ 3fe0e44980000000h
DQ 3fe0f72410000000h
DQ 3fe109f390000000h
DQ 3fe11cb810000000h
DQ 3fe12f7190000000h
DQ 3fe1422020000000h
DQ 3fe154c3d0000000h
DQ 3fe1675ca0000000h
DQ 3fe179eab0000000h
DQ 3fe18c6e00000000h
DQ 3fe19ee6b0000000h
DQ 3fe1b154b0000000h
DQ 3fe1c3b810000000h
DQ 3fe1d610f0000000h
DQ 3fe1e85f50000000h
DQ 3fe1faa340000000h
DQ 3fe20cdcd0000000h
DQ 3fe21f0bf0000000h
DQ 3fe23130d0000000h
DQ 3fe2434b60000000h
DQ 3fe2555bc0000000h
DQ 3fe2676200000000h
DQ 3fe2795e10000000h
DQ 3fe28b5000000000h
DQ 3fe29d37f0000000h
DQ 3fe2af15f0000000h
DQ 3fe2c0e9e0000000h
DQ 3fe2d2b400000000h
DQ 3fe2e47430000000h
DQ 3fe2f62a90000000h
DQ 3fe307d730000000h
DQ 3fe3197a00000000h
DQ 3fe32b1330000000h
DQ 3fe33ca2b0000000h
DQ 3fe34e2890000000h
DQ 3fe35fa4e0000000h
DQ 3fe37117b0000000h
DQ 3fe38280f0000000h
DQ 3fe393e0d0000000h
DQ 3fe3a53730000000h
DQ 3fe3b68440000000h
DQ 3fe3c7c7f0000000h
DQ 3fe3d90260000000h
DQ 3fe3ea3390000000h
DQ 3fe3fb5b80000000h
DQ 3fe40c7a40000000h
DQ 3fe41d8fe0000000h
DQ 3fe42e9c60000000h
DQ 3fe43f9fe0000000h
DQ 3fe4509a50000000h
DQ 3fe4618bc0000000h
DQ 3fe4727430000000h
DQ 3fe48353d0000000h
DQ 3fe4942a80000000h
DQ 3fe4a4f850000000h
DQ 3fe4b5bd60000000h
DQ 3fe4c679a0000000h
DQ 3fe4d72d30000000h
DQ 3fe4e7d810000000h
DQ 3fe4f87a30000000h
DQ 3fe50913c0000000h
DQ 3fe519a4c0000000h
DQ 3fe52a2d20000000h
DQ 3fe53aad00000000h
DQ 3fe54b2460000000h
DQ 3fe55b9350000000h
DQ 3fe56bf9d0000000h
DQ 3fe57c57f0000000h
DQ 3fe58cadb0000000h
DQ 3fe59cfb20000000h
DQ 3fe5ad4040000000h
DQ 3fe5bd7d30000000h
DQ 3fe5cdb1d0000000h
DQ 3fe5ddde50000000h
DQ 3fe5ee02a0000000h
DQ 3fe5fe1ed0000000h
DQ 3fe60e32f0000000h
DQ 3fe61e3ef0000000h
DQ 3fe62e42e0000000h
DQ 0000000000000000h
ALIGN 16
PUBLIC __log_256_tail
__log_256_tail DQ 0000000000000000h
DQ 3db5885e0250435ah
DQ 3de620cf11f86ed2h
DQ 3dff0214edba4a25h
DQ 3dbf807c79f3db4eh
DQ 3dea352ba779a52bh
DQ 3dff56c46aa49fd5h
DQ 3dfebe465fef5196h
DQ 3e0cf0660099f1f8h
DQ 3e1247b2ff85945dh
DQ 3e13fd7abf5202b6h
DQ 3e1f91c9a918d51eh
DQ 3e08cb73f118d3cah
DQ 3e1d91c7d6fad074h
DQ 3de1971bec28d14ch
DQ 3e15b616a423c78ah
DQ 3da162a6617cc971h
DQ 3e166391c4c06d29h
DQ 3e2d46f5c1d0c4b8h
DQ 3e2e14282df1f6d3h
DQ 3e186f47424a660dh
DQ 3e2d4c8de077753eh
DQ 3e2e0c307ed24f1ch
DQ 3e226ea18763bdd3h
DQ 3e25cad69737c933h
DQ 3e2af62599088901h
DQ 3e18c66c83d6b2d0h
DQ 3e1880ceb36fb30fh
DQ 3e2495aac6ca17a4h
DQ 3e2761db4210878ch
DQ 3e2eb78e862bac2fh
DQ 3e19b2cd75790dd9h
DQ 3e2c55e5cbd3d50fh
DQ 3db162a6617cc971h
DQ 3dfdbeabaaa2e519h
DQ 3e1652cb7150c647h
DQ 3e39a11cb2cd2ee2h
DQ 3e219d0ab1a28813h
DQ 3e24bd9e80a41811h
DQ 3e3214b596faa3dfh
DQ 3e303fea46980bb8h
DQ 3e31c8ffa5fd28c7h
DQ 3dce8f743bcd96c5h
DQ 3dfd98c5395315c6h
DQ 3e3996fa3ccfa7b2h
DQ 3e1cd2af2ad13037h
DQ 3e1d0da1bd17200eh
DQ 3e3330410ba68b75h
DQ 3df4f27a790e7c41h
DQ 3e13956a86f6ff1bh
DQ 3e2c6748723551d9h
DQ 3e2500de9326cdfch
DQ 3e1086c848df1b59h
DQ 3e04357ead6836ffh
DQ 3e24832442408024h
DQ 3e3d10da8154b13dh
DQ 3e39e8ad68ec8260h
DQ 3e3cfbf706abaf18h
DQ 3e3fc56ac6326e23h
DQ 3e39105e3185cf21h
DQ 3e3d017fe5b19cc0h
DQ 3e3d1f6b48dd13feh
DQ 3e20b63358a7e73ah
DQ 3e263063028c211ch
DQ 3e2e6a6886b09760h
DQ 3e3c138bb891cd03h
DQ 3e369f7722b7221ah
DQ 3df57d8fac1a628ch
DQ 3e3c55e5cbd3d50fh
DQ 3e1552d2ff48fe2eh
DQ 3e37b8b26ca431bch
DQ 3e292decdc1c5f6dh
DQ 3e3abc7c551aaa8ch
DQ 3e36b540731a354bh
DQ 3e32d341036b89efh
DQ 3e4f9ab21a3a2e0fh
DQ 3e239c871afb9fbdh
DQ 3e3e6add2c81f640h
DQ 3e435c95aa313f41h
DQ 3e249d4582f6cc53h
DQ 3e47574c1c07398fh
DQ 3e4ba846dece9e8dh
DQ 3e16999fafbc68e7h
DQ 3e4c9145e51b0103h
DQ 3e479ef2cb44850ah
DQ 3e0beec73de11275h
DQ 3e2ef4351af5a498h
DQ 3e45713a493b4a50h
DQ 3e45c23a61385992h
DQ 3e42a88309f57299h
DQ 3e4530faa9ac8aceh
DQ 3e25fec2d792a758h
DQ 3e35a517a71cbcd7h
DQ 3e3707dc3e1cd9a3h
DQ 3e3a1a9f8ef43049h
DQ 3e4409d0276b3674h
DQ 3e20e2f613e85bd9h
DQ 3df0027433001e5fh
DQ 3e35dde2836d3265h
DQ 3e2300134d7aaf04h
DQ 3e3cb7e0b42724f5h
DQ 3e2d6e93167e6308h
DQ 3e3d1569b1526adbh
DQ 3e0e99fc338a1a41h
DQ 3e4eb01394a11b1ch
DQ 3e04f27a790e7c41h
DQ 3e25ce3ca97b7af9h
DQ 3e281f0f940ed857h
DQ 3e4d36295d88857ch
DQ 3e21aca1ec4af526h
DQ 3e445743c7182726h
DQ 3e23c491aead337eh
DQ 3e3aef401a738931h
DQ 3e21cede76092a29h
DQ 3e4fba8f44f82bb4h
DQ 3e446f5f7f3c3e1ah
DQ 3e47055f86c9674bh
DQ 3e4b41a92b6b6e1ah
DQ 3e443d162e927628h
DQ 3e4466174013f9b1h
DQ 3e3b05096ad69c62h
DQ 3e40b169150faa58h
DQ 3e3cd98b1df85da7h
DQ 3e468b507b0f8fa8h
DQ 3e48422df57499bah
DQ 3e11351586970274h
DQ 3e117e08acba92eeh
DQ 3e26e04314dd0229h
DQ 3e497f3097e56d1ah
DQ 3e3356e655901286h
DQ 3e0cb761457f94d6h
DQ 3e39af67a85a9dach
DQ 3e453410931a909fh
DQ 3e22c587206058f5h
DQ 3e223bc358899c22h
DQ 3e4d7bf8b6d223cbh
DQ 3e47991ec5197ddbh
DQ 3e4a79e6bb3a9219h
DQ 3e3a4c43ed663ec5h
DQ 3e461b5a1484f438h
DQ 3e4b4e36f7ef0c3ah
DQ 3e115f026acd0d1bh
DQ 3e3f36b535cecf05h
DQ 3e2ffb7fbf3eb5c6h
DQ 3e3e6a6886b09760h
DQ 3e3135eb27f5bbc3h
DQ 3e470be7d6f6fa57h
DQ 3e4ce43cc84ab338h
DQ 3e4c01d7aac3bd91h
DQ 3e45c58d07961060h
DQ 3e3628bcf941456eh
DQ 3e4c58b2a8461cd2h
DQ 3e33071282fb989ah
DQ 3e420dab6a80f09ch
DQ 3e44f8d84c397b1eh
DQ 3e40d0ee08599e48h
DQ 3e1d68787e37da36h
DQ 3e366187d591bafch
DQ 3e22346600bae772h
DQ 3e390377d0d61b8eh
DQ 3e4f5e0dd966b907h
DQ 3e49023cb79a00e2h
DQ 3e44e05158c28ad8h
DQ 3e3bfa7b08b18ae4h
DQ 3e4ef1e63db35f67h
DQ 3e0ec2ae39493d4fh
DQ 3e40afe930ab2fa0h
DQ 3e225ff8a1810dd4h
DQ 3e469743fb1a71a5h
DQ 3e5f9cc676785571h
DQ 3e5b524da4cbf982h
DQ 3e5a4c8b381535b8h
DQ 3e5839be809caf2ch
DQ 3e50968a1cb82c13h
DQ 3e5eae6a41723fb5h
DQ 3e5d9c29a380a4dbh
DQ 3e4094aa0ada625eh
DQ 3e5973ad6fc108cah
DQ 3e4747322fdbab97h
DQ 3e593692fa9d4221h
DQ 3e5c5a992dfbc7d9h
DQ 3e4e1f33e102387ah
DQ 3e464fbef14c048ch
DQ 3e4490f513ca5e3bh
DQ 3e37a6af4d4c799dh
DQ 3e57574c1c07398fh
DQ 3e57b133417f8c1ch
DQ 3e5feb9e0c176514h
DQ 3e419f25bb3172f7h
DQ 3e45f68a7bbfb852h
DQ 3e5ee278497929f1h
DQ 3e5ccee006109d58h
DQ 3e5ce081a07bd8b3h
DQ 3e570e12981817b8h
DQ 3e292ab6d93503d0h
DQ 3e58cb7dd7c3b61eh
DQ 3e4efafd0a0b78dah
DQ 3e5e907267c4288eh
DQ 3e5d31ef96780875h
DQ 3e23430dfcd2ad50h
DQ 3e344d88d75bc1f9h
DQ 3e5bec0f055e04fch
DQ 3e5d85611590b9adh
DQ 3df320568e583229h
DQ 3e5a891d1772f538h
DQ 3e22edc9dabba74dh
DQ 3e4b9009a1015086h
DQ 3e52a12a8c5b1a19h
DQ 3e3a7885f0fdac85h
DQ 3e5f4ffcd43ac691h
DQ 3e52243ae2640aadh
DQ 3e546513299035d3h
DQ 3e5b39c3a62dd725h
DQ 3e5ba6dd40049f51h
DQ 3e451d1ed7177409h
DQ 3e5cb0f2fd7f5216h
DQ 3e3ab150cd4e2213h
DQ 3e5cfd7bf3193844h
DQ 3e53fff8455f1dbdh
DQ 3e5fee640b905fc9h
DQ 3e54e2adf548084ch
DQ 3e3b597adc1ecdd2h
DQ 3e4345bd096d3a75h
DQ 3e5101b9d2453c8bh
DQ 3e508ce55cc8c979h
DQ 3e5bbf017e595f71h
DQ 3e37ce733bd393dch
DQ 3e233bb0a503f8a1h
DQ 3e30e2f613e85bd9h
DQ 3e5e67555a635b3ch
DQ 3e2ea88df73d5e8bh
DQ 3e3d17e03bda18a8h
DQ 3e5b607d76044f7eh
DQ 3e52adc4e71bc2fch
DQ 3e5f99dc7362d1d9h
DQ 3e5473fa008e6a6ah
DQ 3e2b75bb09cb0985h
DQ 3e5ea04dd10b9abah
DQ 3e5802d0d6979674h
DQ 3e174688ccd99094h
DQ 3e496f16abb9df22h
DQ 3e46e66df2aa374fh
DQ 3e4e66525ea4550ah
DQ 3e42d02f34f20cbdh
DQ 3e46cfce65047188h
DQ 3e39b78c842d58b8h
DQ 3e4735e624c24bc9h
DQ 3e47eba1f7dd1adfh
DQ 3e586b3e59f65355h
DQ 3e1ce38e637f1b4dh
DQ 3e58d82ec919edc7h
DQ 3e4c52648ddcfa37h
DQ 3e52482ceae1ac12h
DQ 3e55a312311aba4fh
DQ 3e411e236329f225h
DQ 3e5b48c8cd2f246ch
DQ 3e6efa39ef35793ch
DQ 0000000000000000h
END

View file

@ -0,0 +1,555 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log_256_lead and __log_256_tail tables
** Used by log and pow
**
*/
#include <crtdefs.h>
const unsigned long long _CRT_ALIGN(16) __log_256_lead[] =
{
0x0000000000000000ull,
0x3f6ff00aa0000000ull,
0x3f7fe02a60000000ull,
0x3f87dc4750000000ull,
0x3f8fc0a8b0000000ull,
0x3f93cea440000000ull,
0x3f97b91b00000000ull,
0x3f9b9fc020000000ull,
0x3f9f829b00000000ull,
0x3fa1b0d980000000ull,
0x3fa39e87b0000000ull,
0x3fa58a5ba0000000ull,
0x3fa77458f0000000ull,
0x3fa95c8300000000ull,
0x3fab42dd70000000ull,
0x3fad276b80000000ull,
0x3faf0a30c0000000ull,
0x3fb0759830000000ull,
0x3fb16536e0000000ull,
0x3fb253f620000000ull,
0x3fb341d790000000ull,
0x3fb42edcb0000000ull,
0x3fb51b0730000000ull,
0x3fb60658a0000000ull,
0x3fb6f0d280000000ull,
0x3fb7da7660000000ull,
0x3fb8c345d0000000ull,
0x3fb9ab4240000000ull,
0x3fba926d30000000ull,
0x3fbb78c820000000ull,
0x3fbc5e5480000000ull,
0x3fbd4313d0000000ull,
0x3fbe270760000000ull,
0x3fbf0a30c0000000ull,
0x3fbfec9130000000ull,
0x3fc0671510000000ull,
0x3fc0d77e70000000ull,
0x3fc1478580000000ull,
0x3fc1b72ad0000000ull,
0x3fc2266f10000000ull,
0x3fc29552f0000000ull,
0x3fc303d710000000ull,
0x3fc371fc20000000ull,
0x3fc3dfc2b0000000ull,
0x3fc44d2b60000000ull,
0x3fc4ba36f0000000ull,
0x3fc526e5e0000000ull,
0x3fc59338d0000000ull,
0x3fc5ff3070000000ull,
0x3fc66acd40000000ull,
0x3fc6d60fe0000000ull,
0x3fc740f8f0000000ull,
0x3fc7ab8900000000ull,
0x3fc815c0a0000000ull,
0x3fc87fa060000000ull,
0x3fc8e928d0000000ull,
0x3fc9525a90000000ull,
0x3fc9bb3620000000ull,
0x3fca23bc10000000ull,
0x3fca8becf0000000ull,
0x3fcaf3c940000000ull,
0x3fcb5b5190000000ull,
0x3fcbc28670000000ull,
0x3fcc296850000000ull,
0x3fcc8ff7c0000000ull,
0x3fccf63540000000ull,
0x3fcd5c2160000000ull,
0x3fcdc1bca0000000ull,
0x3fce270760000000ull,
0x3fce8c0250000000ull,
0x3fcef0adc0000000ull,
0x3fcf550a50000000ull,
0x3fcfb91860000000ull,
0x3fd00e6c40000000ull,
0x3fd0402590000000ull,
0x3fd071b850000000ull,
0x3fd0a324e0000000ull,
0x3fd0d46b50000000ull,
0x3fd1058bf0000000ull,
0x3fd1368700000000ull,
0x3fd1675ca0000000ull,
0x3fd1980d20000000ull,
0x3fd1c898c0000000ull,
0x3fd1f8ff90000000ull,
0x3fd22941f0000000ull,
0x3fd2596010000000ull,
0x3fd2895a10000000ull,
0x3fd2b93030000000ull,
0x3fd2e8e2b0000000ull,
0x3fd31871c0000000ull,
0x3fd347dd90000000ull,
0x3fd3772660000000ull,
0x3fd3a64c50000000ull,
0x3fd3d54fa0000000ull,
0x3fd4043080000000ull,
0x3fd432ef20000000ull,
0x3fd4618bc0000000ull,
0x3fd4900680000000ull,
0x3fd4be5f90000000ull,
0x3fd4ec9730000000ull,
0x3fd51aad80000000ull,
0x3fd548a2c0000000ull,
0x3fd5767710000000ull,
0x3fd5a42ab0000000ull,
0x3fd5d1bdb0000000ull,
0x3fd5ff3070000000ull,
0x3fd62c82f0000000ull,
0x3fd659b570000000ull,
0x3fd686c810000000ull,
0x3fd6b3bb20000000ull,
0x3fd6e08ea0000000ull,
0x3fd70d42e0000000ull,
0x3fd739d7f0000000ull,
0x3fd7664e10000000ull,
0x3fd792a550000000ull,
0x3fd7bede00000000ull,
0x3fd7eaf830000000ull,
0x3fd816f410000000ull,
0x3fd842d1d0000000ull,
0x3fd86e9190000000ull,
0x3fd89a3380000000ull,
0x3fd8c5b7c0000000ull,
0x3fd8f11e80000000ull,
0x3fd91c67e0000000ull,
0x3fd9479410000000ull,
0x3fd972a340000000ull,
0x3fd99d9580000000ull,
0x3fd9c86b00000000ull,
0x3fd9f323e0000000ull,
0x3fda1dc060000000ull,
0x3fda484090000000ull,
0x3fda72a490000000ull,
0x3fda9cec90000000ull,
0x3fdac718c0000000ull,
0x3fdaf12930000000ull,
0x3fdb1b1e00000000ull,
0x3fdb44f770000000ull,
0x3fdb6eb590000000ull,
0x3fdb985890000000ull,
0x3fdbc1e080000000ull,
0x3fdbeb4d90000000ull,
0x3fdc149ff0000000ull,
0x3fdc3dd7a0000000ull,
0x3fdc66f4e0000000ull,
0x3fdc8ff7c0000000ull,
0x3fdcb8e070000000ull,
0x3fdce1af00000000ull,
0x3fdd0a63a0000000ull,
0x3fdd32fe70000000ull,
0x3fdd5b7f90000000ull,
0x3fdd83e720000000ull,
0x3fddac3530000000ull,
0x3fddd46a00000000ull,
0x3fddfc8590000000ull,
0x3fde248810000000ull,
0x3fde4c71a0000000ull,
0x3fde744260000000ull,
0x3fde9bfa60000000ull,
0x3fdec399d0000000ull,
0x3fdeeb20c0000000ull,
0x3fdf128f50000000ull,
0x3fdf39e5b0000000ull,
0x3fdf6123f0000000ull,
0x3fdf884a30000000ull,
0x3fdfaf5880000000ull,
0x3fdfd64f20000000ull,
0x3fdffd2e00000000ull,
0x3fe011fab0000000ull,
0x3fe02552a0000000ull,
0x3fe0389ee0000000ull,
0x3fe04bdf90000000ull,
0x3fe05f14b0000000ull,
0x3fe0723e50000000ull,
0x3fe0855c80000000ull,
0x3fe0986f40000000ull,
0x3fe0ab76b0000000ull,
0x3fe0be72e0000000ull,
0x3fe0d163c0000000ull,
0x3fe0e44980000000ull,
0x3fe0f72410000000ull,
0x3fe109f390000000ull,
0x3fe11cb810000000ull,
0x3fe12f7190000000ull,
0x3fe1422020000000ull,
0x3fe154c3d0000000ull,
0x3fe1675ca0000000ull,
0x3fe179eab0000000ull,
0x3fe18c6e00000000ull,
0x3fe19ee6b0000000ull,
0x3fe1b154b0000000ull,
0x3fe1c3b810000000ull,
0x3fe1d610f0000000ull,
0x3fe1e85f50000000ull,
0x3fe1faa340000000ull,
0x3fe20cdcd0000000ull,
0x3fe21f0bf0000000ull,
0x3fe23130d0000000ull,
0x3fe2434b60000000ull,
0x3fe2555bc0000000ull,
0x3fe2676200000000ull,
0x3fe2795e10000000ull,
0x3fe28b5000000000ull,
0x3fe29d37f0000000ull,
0x3fe2af15f0000000ull,
0x3fe2c0e9e0000000ull,
0x3fe2d2b400000000ull,
0x3fe2e47430000000ull,
0x3fe2f62a90000000ull,
0x3fe307d730000000ull,
0x3fe3197a00000000ull,
0x3fe32b1330000000ull,
0x3fe33ca2b0000000ull,
0x3fe34e2890000000ull,
0x3fe35fa4e0000000ull,
0x3fe37117b0000000ull,
0x3fe38280f0000000ull,
0x3fe393e0d0000000ull,
0x3fe3a53730000000ull,
0x3fe3b68440000000ull,
0x3fe3c7c7f0000000ull,
0x3fe3d90260000000ull,
0x3fe3ea3390000000ull,
0x3fe3fb5b80000000ull,
0x3fe40c7a40000000ull,
0x3fe41d8fe0000000ull,
0x3fe42e9c60000000ull,
0x3fe43f9fe0000000ull,
0x3fe4509a50000000ull,
0x3fe4618bc0000000ull,
0x3fe4727430000000ull,
0x3fe48353d0000000ull,
0x3fe4942a80000000ull,
0x3fe4a4f850000000ull,
0x3fe4b5bd60000000ull,
0x3fe4c679a0000000ull,
0x3fe4d72d30000000ull,
0x3fe4e7d810000000ull,
0x3fe4f87a30000000ull,
0x3fe50913c0000000ull,
0x3fe519a4c0000000ull,
0x3fe52a2d20000000ull,
0x3fe53aad00000000ull,
0x3fe54b2460000000ull,
0x3fe55b9350000000ull,
0x3fe56bf9d0000000ull,
0x3fe57c57f0000000ull,
0x3fe58cadb0000000ull,
0x3fe59cfb20000000ull,
0x3fe5ad4040000000ull,
0x3fe5bd7d30000000ull,
0x3fe5cdb1d0000000ull,
0x3fe5ddde50000000ull,
0x3fe5ee02a0000000ull,
0x3fe5fe1ed0000000ull,
0x3fe60e32f0000000ull,
0x3fe61e3ef0000000ull,
0x3fe62e42e0000000ull,
0x0000000000000000ull
};
const unsigned long long _CRT_ALIGN(16) __log_256_tail[] =
{
0x0000000000000000ull,
0x3db5885e0250435aull,
0x3de620cf11f86ed2ull,
0x3dff0214edba4a25ull,
0x3dbf807c79f3db4eull,
0x3dea352ba779a52bull,
0x3dff56c46aa49fd5ull,
0x3dfebe465fef5196ull,
0x3e0cf0660099f1f8ull,
0x3e1247b2ff85945dull,
0x3e13fd7abf5202b6ull,
0x3e1f91c9a918d51eull,
0x3e08cb73f118d3caull,
0x3e1d91c7d6fad074ull,
0x3de1971bec28d14cull,
0x3e15b616a423c78aull,
0x3da162a6617cc971ull,
0x3e166391c4c06d29ull,
0x3e2d46f5c1d0c4b8ull,
0x3e2e14282df1f6d3ull,
0x3e186f47424a660dull,
0x3e2d4c8de077753eull,
0x3e2e0c307ed24f1cull,
0x3e226ea18763bdd3ull,
0x3e25cad69737c933ull,
0x3e2af62599088901ull,
0x3e18c66c83d6b2d0ull,
0x3e1880ceb36fb30full,
0x3e2495aac6ca17a4ull,
0x3e2761db4210878cull,
0x3e2eb78e862bac2full,
0x3e19b2cd75790dd9ull,
0x3e2c55e5cbd3d50full,
0x3db162a6617cc971ull,
0x3dfdbeabaaa2e519ull,
0x3e1652cb7150c647ull,
0x3e39a11cb2cd2ee2ull,
0x3e219d0ab1a28813ull,
0x3e24bd9e80a41811ull,
0x3e3214b596faa3dfull,
0x3e303fea46980bb8ull,
0x3e31c8ffa5fd28c7ull,
0x3dce8f743bcd96c5ull,
0x3dfd98c5395315c6ull,
0x3e3996fa3ccfa7b2ull,
0x3e1cd2af2ad13037ull,
0x3e1d0da1bd17200eull,
0x3e3330410ba68b75ull,
0x3df4f27a790e7c41ull,
0x3e13956a86f6ff1bull,
0x3e2c6748723551d9ull,
0x3e2500de9326cdfcull,
0x3e1086c848df1b59ull,
0x3e04357ead6836ffull,
0x3e24832442408024ull,
0x3e3d10da8154b13dull,
0x3e39e8ad68ec8260ull,
0x3e3cfbf706abaf18ull,
0x3e3fc56ac6326e23ull,
0x3e39105e3185cf21ull,
0x3e3d017fe5b19cc0ull,
0x3e3d1f6b48dd13feull,
0x3e20b63358a7e73aull,
0x3e263063028c211cull,
0x3e2e6a6886b09760ull,
0x3e3c138bb891cd03ull,
0x3e369f7722b7221aull,
0x3df57d8fac1a628cull,
0x3e3c55e5cbd3d50full,
0x3e1552d2ff48fe2eull,
0x3e37b8b26ca431bcull,
0x3e292decdc1c5f6dull,
0x3e3abc7c551aaa8cull,
0x3e36b540731a354bull,
0x3e32d341036b89efull,
0x3e4f9ab21a3a2e0full,
0x3e239c871afb9fbdull,
0x3e3e6add2c81f640ull,
0x3e435c95aa313f41ull,
0x3e249d4582f6cc53ull,
0x3e47574c1c07398full,
0x3e4ba846dece9e8dull,
0x3e16999fafbc68e7ull,
0x3e4c9145e51b0103ull,
0x3e479ef2cb44850aull,
0x3e0beec73de11275ull,
0x3e2ef4351af5a498ull,
0x3e45713a493b4a50ull,
0x3e45c23a61385992ull,
0x3e42a88309f57299ull,
0x3e4530faa9ac8aceull,
0x3e25fec2d792a758ull,
0x3e35a517a71cbcd7ull,
0x3e3707dc3e1cd9a3ull,
0x3e3a1a9f8ef43049ull,
0x3e4409d0276b3674ull,
0x3e20e2f613e85bd9ull,
0x3df0027433001e5full,
0x3e35dde2836d3265ull,
0x3e2300134d7aaf04ull,
0x3e3cb7e0b42724f5ull,
0x3e2d6e93167e6308ull,
0x3e3d1569b1526adbull,
0x3e0e99fc338a1a41ull,
0x3e4eb01394a11b1cull,
0x3e04f27a790e7c41ull,
0x3e25ce3ca97b7af9ull,
0x3e281f0f940ed857ull,
0x3e4d36295d88857cull,
0x3e21aca1ec4af526ull,
0x3e445743c7182726ull,
0x3e23c491aead337eull,
0x3e3aef401a738931ull,
0x3e21cede76092a29ull,
0x3e4fba8f44f82bb4ull,
0x3e446f5f7f3c3e1aull,
0x3e47055f86c9674bull,
0x3e4b41a92b6b6e1aull,
0x3e443d162e927628ull,
0x3e4466174013f9b1ull,
0x3e3b05096ad69c62ull,
0x3e40b169150faa58ull,
0x3e3cd98b1df85da7ull,
0x3e468b507b0f8fa8ull,
0x3e48422df57499baull,
0x3e11351586970274ull,
0x3e117e08acba92eeull,
0x3e26e04314dd0229ull,
0x3e497f3097e56d1aull,
0x3e3356e655901286ull,
0x3e0cb761457f94d6ull,
0x3e39af67a85a9dacull,
0x3e453410931a909full,
0x3e22c587206058f5ull,
0x3e223bc358899c22ull,
0x3e4d7bf8b6d223cbull,
0x3e47991ec5197ddbull,
0x3e4a79e6bb3a9219ull,
0x3e3a4c43ed663ec5ull,
0x3e461b5a1484f438ull,
0x3e4b4e36f7ef0c3aull,
0x3e115f026acd0d1bull,
0x3e3f36b535cecf05ull,
0x3e2ffb7fbf3eb5c6ull,
0x3e3e6a6886b09760ull,
0x3e3135eb27f5bbc3ull,
0x3e470be7d6f6fa57ull,
0x3e4ce43cc84ab338ull,
0x3e4c01d7aac3bd91ull,
0x3e45c58d07961060ull,
0x3e3628bcf941456eull,
0x3e4c58b2a8461cd2ull,
0x3e33071282fb989aull,
0x3e420dab6a80f09cull,
0x3e44f8d84c397b1eull,
0x3e40d0ee08599e48ull,
0x3e1d68787e37da36ull,
0x3e366187d591bafcull,
0x3e22346600bae772ull,
0x3e390377d0d61b8eull,
0x3e4f5e0dd966b907ull,
0x3e49023cb79a00e2ull,
0x3e44e05158c28ad8ull,
0x3e3bfa7b08b18ae4ull,
0x3e4ef1e63db35f67ull,
0x3e0ec2ae39493d4full,
0x3e40afe930ab2fa0ull,
0x3e225ff8a1810dd4ull,
0x3e469743fb1a71a5ull,
0x3e5f9cc676785571ull,
0x3e5b524da4cbf982ull,
0x3e5a4c8b381535b8ull,
0x3e5839be809caf2cull,
0x3e50968a1cb82c13ull,
0x3e5eae6a41723fb5ull,
0x3e5d9c29a380a4dbull,
0x3e4094aa0ada625eull,
0x3e5973ad6fc108caull,
0x3e4747322fdbab97ull,
0x3e593692fa9d4221ull,
0x3e5c5a992dfbc7d9ull,
0x3e4e1f33e102387aull,
0x3e464fbef14c048cull,
0x3e4490f513ca5e3bull,
0x3e37a6af4d4c799dull,
0x3e57574c1c07398full,
0x3e57b133417f8c1cull,
0x3e5feb9e0c176514ull,
0x3e419f25bb3172f7ull,
0x3e45f68a7bbfb852ull,
0x3e5ee278497929f1ull,
0x3e5ccee006109d58ull,
0x3e5ce081a07bd8b3ull,
0x3e570e12981817b8ull,
0x3e292ab6d93503d0ull,
0x3e58cb7dd7c3b61eull,
0x3e4efafd0a0b78daull,
0x3e5e907267c4288eull,
0x3e5d31ef96780875ull,
0x3e23430dfcd2ad50ull,
0x3e344d88d75bc1f9ull,
0x3e5bec0f055e04fcull,
0x3e5d85611590b9adull,
0x3df320568e583229ull,
0x3e5a891d1772f538ull,
0x3e22edc9dabba74dull,
0x3e4b9009a1015086ull,
0x3e52a12a8c5b1a19ull,
0x3e3a7885f0fdac85ull,
0x3e5f4ffcd43ac691ull,
0x3e52243ae2640aadull,
0x3e546513299035d3ull,
0x3e5b39c3a62dd725ull,
0x3e5ba6dd40049f51ull,
0x3e451d1ed7177409ull,
0x3e5cb0f2fd7f5216ull,
0x3e3ab150cd4e2213ull,
0x3e5cfd7bf3193844ull,
0x3e53fff8455f1dbdull,
0x3e5fee640b905fc9ull,
0x3e54e2adf548084cull,
0x3e3b597adc1ecdd2ull,
0x3e4345bd096d3a75ull,
0x3e5101b9d2453c8bull,
0x3e508ce55cc8c979ull,
0x3e5bbf017e595f71ull,
0x3e37ce733bd393dcull,
0x3e233bb0a503f8a1ull,
0x3e30e2f613e85bd9ull,
0x3e5e67555a635b3cull,
0x3e2ea88df73d5e8bull,
0x3e3d17e03bda18a8ull,
0x3e5b607d76044f7eull,
0x3e52adc4e71bc2fcull,
0x3e5f99dc7362d1d9ull,
0x3e5473fa008e6a6aull,
0x3e2b75bb09cb0985ull,
0x3e5ea04dd10b9abaull,
0x3e5802d0d6979674ull,
0x3e174688ccd99094ull,
0x3e496f16abb9df22ull,
0x3e46e66df2aa374full,
0x3e4e66525ea4550aull,
0x3e42d02f34f20cbdull,
0x3e46cfce65047188ull,
0x3e39b78c842d58b8ull,
0x3e4735e624c24bc9ull,
0x3e47eba1f7dd1adfull,
0x3e586b3e59f65355ull,
0x3e1ce38e637f1b4dull,
0x3e58d82ec919edc7ull,
0x3e4c52648ddcfa37ull,
0x3e52482ceae1ac12ull,
0x3e55a312311aba4full,
0x3e411e236329f225ull,
0x3e5b48c8cd2f246cull,
0x3e6efa39ef35793cull,
0x0000000000000000ull
};

View file

@ -1,164 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __log_F_inv_dword
;; Used in log10f and logf
;;
.const
ALIGN 16
PUBLIC __log_F_inv_dword
__log_F_inv_dword DD 40000000h
DD 3ffe03f8h
DD 3ffc0fc1h
DD 3ffa232dh
DD 3ff83e10h
DD 3ff6603eh
DD 3ff4898dh
DD 3ff2b9d6h
DD 3ff0f0f1h
DD 3fef2eb7h
DD 3fed7304h
DD 3febbdb3h
DD 3fea0ea1h
DD 3fe865ach
DD 3fe6c2b4h
DD 3fe52598h
DD 3fe38e39h
DD 3fe1fc78h
DD 3fe07038h
DD 3fdee95ch
DD 3fdd67c9h
DD 3fdbeb62h
DD 3fda740eh
DD 3fd901b2h
DD 3fd79436h
DD 3fd62b81h
DD 3fd4c77bh
DD 3fd3680dh
DD 3fd20d21h
DD 3fd0b6a0h
DD 3fcf6475h
DD 3fce168ah
DD 3fcccccdh
DD 3fcb8728h
DD 3fca4588h
DD 3fc907dah
DD 3fc7ce0ch
DD 3fc6980ch
DD 3fc565c8h
DD 3fc43730h
DD 3fc30c31h
DD 3fc1e4bch
DD 3fc0c0c1h
DD 3fbfa030h
DD 3fbe82fah
DD 3fbd6910h
DD 3fbc5264h
DD 3fbb3ee7h
DD 3fba2e8ch
DD 3fb92144h
DD 3fb81703h
DD 3fb70fbbh
DD 3fb60b61h
DD 3fb509e7h
DD 3fb40b41h
DD 3fb30f63h
DD 3fb21643h
DD 3fb11fd4h
DD 3fb02c0bh
DD 3faf3adeh
DD 3fae4c41h
DD 3fad602bh
DD 3fac7692h
DD 3fab8f6ah
DD 3faaaaabh
DD 3fa9c84ah
DD 3fa8e83fh
DD 3fa80a81h
DD 3fa72f05h
DD 3fa655c4h
DD 3fa57eb5h
DD 3fa4a9cfh
DD 3fa3d70ah
DD 3fa3065eh
DD 3fa237c3h
DD 3fa16b31h
DD 3fa0a0a1h
DD 3f9fd80ah
DD 3f9f1166h
DD 3f9e4cadh
DD 3f9d89d9h
DD 3f9cc8e1h
DD 3f9c09c1h
DD 3f9b4c70h
DD 3f9a90e8h
DD 3f99d723h
DD 3f991f1ah
DD 3f9868c8h
DD 3f97b426h
DD 3f97012eh
DD 3f964fdah
DD 3f95a025h
DD 3f94f209h
DD 3f944581h
DD 3f939a86h
DD 3f92f114h
DD 3f924925h
DD 3f91a2b4h
DD 3f90fdbch
DD 3f905a38h
DD 3f8fb824h
DD 3f8f177ah
DD 3f8e7835h
DD 3f8dda52h
DD 3f8d3dcbh
DD 3f8ca29ch
DD 3f8c08c1h
DD 3f8b7034h
DD 3f8ad8f3h
DD 3f8a42f8h
DD 3f89ae41h
DD 3f891ac7h
DD 3f888889h
DD 3f87f781h
DD 3f8767abh
DD 3f86d905h
DD 3f864b8ah
DD 3f85bf37h
DD 3f853408h
DD 3f84a9fah
DD 3f842108h
DD 3f839930h
DD 3f83126fh
DD 3f828cc0h
DD 3f820821h
DD 3f81848eh
DD 3f810204h
DD 3f808081h
DD 3f800000h
END

View file

@ -0,0 +1,164 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log_F_inv_dword
** Used in log10f and logf
**
*/
#include <crtdefs.h>
const unsigned int _CRT_ALIGN(16) __log_F_inv_dword[] =
{
0x40000000,
0x3ffe03f8,
0x3ffc0fc1,
0x3ffa232d,
0x3ff83e10,
0x3ff6603e,
0x3ff4898d,
0x3ff2b9d6,
0x3ff0f0f1,
0x3fef2eb7,
0x3fed7304,
0x3febbdb3,
0x3fea0ea1,
0x3fe865ac,
0x3fe6c2b4,
0x3fe52598,
0x3fe38e39,
0x3fe1fc78,
0x3fe07038,
0x3fdee95c,
0x3fdd67c9,
0x3fdbeb62,
0x3fda740e,
0x3fd901b2,
0x3fd79436,
0x3fd62b81,
0x3fd4c77b,
0x3fd3680d,
0x3fd20d21,
0x3fd0b6a0,
0x3fcf6475,
0x3fce168a,
0x3fcccccd,
0x3fcb8728,
0x3fca4588,
0x3fc907da,
0x3fc7ce0c,
0x3fc6980c,
0x3fc565c8,
0x3fc43730,
0x3fc30c31,
0x3fc1e4bc,
0x3fc0c0c1,
0x3fbfa030,
0x3fbe82fa,
0x3fbd6910,
0x3fbc5264,
0x3fbb3ee7,
0x3fba2e8c,
0x3fb92144,
0x3fb81703,
0x3fb70fbb,
0x3fb60b61,
0x3fb509e7,
0x3fb40b41,
0x3fb30f63,
0x3fb21643,
0x3fb11fd4,
0x3fb02c0b,
0x3faf3ade,
0x3fae4c41,
0x3fad602b,
0x3fac7692,
0x3fab8f6a,
0x3faaaaab,
0x3fa9c84a,
0x3fa8e83f,
0x3fa80a81,
0x3fa72f05,
0x3fa655c4,
0x3fa57eb5,
0x3fa4a9cf,
0x3fa3d70a,
0x3fa3065e,
0x3fa237c3,
0x3fa16b31,
0x3fa0a0a1,
0x3f9fd80a,
0x3f9f1166,
0x3f9e4cad,
0x3f9d89d9,
0x3f9cc8e1,
0x3f9c09c1,
0x3f9b4c70,
0x3f9a90e8,
0x3f99d723,
0x3f991f1a,
0x3f9868c8,
0x3f97b426,
0x3f97012e,
0x3f964fda,
0x3f95a025,
0x3f94f209,
0x3f944581,
0x3f939a86,
0x3f92f114,
0x3f924925,
0x3f91a2b4,
0x3f90fdbc,
0x3f905a38,
0x3f8fb824,
0x3f8f177a,
0x3f8e7835,
0x3f8dda52,
0x3f8d3dcb,
0x3f8ca29c,
0x3f8c08c1,
0x3f8b7034,
0x3f8ad8f3,
0x3f8a42f8,
0x3f89ae41,
0x3f891ac7,
0x3f888889,
0x3f87f781,
0x3f8767ab,
0x3f86d905,
0x3f864b8a,
0x3f85bf37,
0x3f853408,
0x3f84a9fa,
0x3f842108,
0x3f839930,
0x3f83126f,
0x3f828cc0,
0x3f820821,
0x3f81848e,
0x3f810204,
0x3f808081,
0x3f800000,
};

View file

@ -1,294 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __log_F_inv_qword
;; Used in log10 and log
;;
.const
ALIGN 16
PUBLIC __log_F_inv_qword
__log_F_inv_qword DQ 4000000000000000h
DQ 3fffe01fe01fe020h
DQ 3fffc07f01fc07f0h
DQ 3fffa11caa01fa12h
DQ 3fff81f81f81f820h
DQ 3fff6310aca0dbb5h
DQ 3fff44659e4a4271h
DQ 3fff25f644230ab5h
DQ 3fff07c1f07c1f08h
DQ 3ffee9c7f8458e02h
DQ 3ffecc07b301ecc0h
DQ 3ffeae807aba01ebh
DQ 3ffe9131abf0b767h
DQ 3ffe741aa59750e4h
DQ 3ffe573ac901e574h
DQ 3ffe3a9179dc1a73h
DQ 3ffe1e1e1e1e1e1eh
DQ 3ffe01e01e01e01eh
DQ 3ffde5d6e3f8868ah
DQ 3ffdca01dca01dcah
DQ 3ffdae6076b981dbh
DQ 3ffd92f2231e7f8ah
DQ 3ffd77b654b82c34h
DQ 3ffd5cac807572b2h
DQ 3ffd41d41d41d41dh
DQ 3ffd272ca3fc5b1ah
DQ 3ffd0cb58f6ec074h
DQ 3ffcf26e5c44bfc6h
DQ 3ffcd85689039b0bh
DQ 3ffcbe6d9601cbe7h
DQ 3ffca4b3055ee191h
DQ 3ffc8b265afb8a42h
DQ 3ffc71c71c71c71ch
DQ 3ffc5894d10d4986h
DQ 3ffc3f8f01c3f8f0h
DQ 3ffc26b5392ea01ch
DQ 3ffc0e070381c0e0h
DQ 3ffbf583ee868d8bh
DQ 3ffbdd2b899406f7h
DQ 3ffbc4fd65883e7bh
DQ 3ffbacf914c1bad0h
DQ 3ffb951e2b18ff23h
DQ 3ffb7d6c3dda338bh
DQ 3ffb65e2e3beee05h
DQ 3ffb4e81b4e81b4fh
DQ 3ffb37484ad806ceh
DQ 3ffb2036406c80d9h
DQ 3ffb094b31d922a4h
DQ 3ffaf286bca1af28h
DQ 3ffadbe87f94905eh
DQ 3ffac5701ac5701bh
DQ 3ffaaf1d2f87ebfdh
DQ 3ffa98ef606a63beh
DQ 3ffa82e65130e159h
DQ 3ffa6d01a6d01a6dh
DQ 3ffa574107688a4ah
DQ 3ffa41a41a41a41ah
DQ 3ffa2c2a87c51ca0h
DQ 3ffa16d3f97a4b02h
DQ 3ffa01a01a01a01ah
DQ 3ff9ec8e951033d9h
DQ 3ff9d79f176b682dh
DQ 3ff9c2d14ee4a102h
DQ 3ff9ae24ea5510dah
DQ 3ff999999999999ah
DQ 3ff9852f0d8ec0ffh
DQ 3ff970e4f80cb872h
DQ 3ff95cbb0be377aeh
DQ 3ff948b0fcd6e9e0h
DQ 3ff934c67f9b2ce6h
DQ 3ff920fb49d0e229h
DQ 3ff90d4f120190d5h
DQ 3ff8f9c18f9c18fah
DQ 3ff8e6527af1373fh
DQ 3ff8d3018d3018d3h
DQ 3ff8bfce8062ff3ah
DQ 3ff8acb90f6bf3aah
DQ 3ff899c0f601899ch
DQ 3ff886e5f0abb04ah
DQ 3ff87427bcc092b9h
DQ 3ff8618618618618h
DQ 3ff84f00c2780614h
DQ 3ff83c977ab2beddh
DQ 3ff82a4a0182a4a0h
DQ 3ff8181818181818h
DQ 3ff8060180601806h
DQ 3ff7f405fd017f40h
DQ 3ff7e225515a4f1dh
DQ 3ff7d05f417d05f4h
DQ 3ff7beb3922e017ch
DQ 3ff7ad2208e0ecc3h
DQ 3ff79baa6bb6398bh
DQ 3ff78a4c8178a4c8h
DQ 3ff77908119ac60dh
DQ 3ff767dce434a9b1h
DQ 3ff756cac201756dh
DQ 3ff745d1745d1746h
DQ 3ff734f0c541fe8dh
DQ 3ff724287f46debch
DQ 3ff713786d9c7c09h
DQ 3ff702e05c0b8170h
DQ 3ff6f26016f26017h
DQ 3ff6e1f76b4337c7h
DQ 3ff6d1a62681c861h
DQ 3ff6c16c16c16c17h
DQ 3ff6b1490aa31a3dh
DQ 3ff6a13cd1537290h
DQ 3ff691473a88d0c0h
DQ 3ff6816816816817h
DQ 3ff6719f3601671ah
DQ 3ff661ec6a5122f9h
DQ 3ff6524f853b4aa3h
DQ 3ff642c8590b2164h
DQ 3ff63356b88ac0deh
DQ 3ff623fa77016240h
DQ 3ff614b36831ae94h
DQ 3ff6058160581606h
DQ 3ff5f66434292dfch
DQ 3ff5e75bb8d015e7h
DQ 3ff5d867c3ece2a5h
DQ 3ff5c9882b931057h
DQ 3ff5babcc647fa91h
DQ 3ff5ac056b015ac0h
DQ 3ff59d61f123ccaah
DQ 3ff58ed2308158edh
DQ 3ff5805601580560h
DQ 3ff571ed3c506b3ah
DQ 3ff56397ba7c52e2h
DQ 3ff5555555555555h
DQ 3ff54725e6bb82feh
DQ 3ff5390948f40febh
DQ 3ff52aff56a8054bh
DQ 3ff51d07eae2f815h
DQ 3ff50f22e111c4c5h
DQ 3ff5015015015015h
DQ 3ff4f38f62dd4c9bh
DQ 3ff4e5e0a72f0539h
DQ 3ff4d843bedc2c4ch
DQ 3ff4cab88725af6eh
DQ 3ff4bd3edda68fe1h
DQ 3ff4afd6a052bf5bh
DQ 3ff4a27fad76014ah
DQ 3ff49539e3b2d067h
DQ 3ff4880522014880h
DQ 3ff47ae147ae147bh
DQ 3ff46dce34596066h
DQ 3ff460cbc7f5cf9ah
DQ 3ff453d9e2c776cah
DQ 3ff446f86562d9fbh
DQ 3ff43a2730abee4dh
DQ 3ff42d6625d51f87h
DQ 3ff420b5265e5951h
DQ 3ff4141414141414h
DQ 3ff40782d10e6566h
DQ 3ff3fb013fb013fbh
DQ 3ff3ee8f42a5af07h
DQ 3ff3e22cbce4a902h
DQ 3ff3d5d991aa75c6h
DQ 3ff3c995a47babe7h
DQ 3ff3bd60d9232955h
DQ 3ff3b13b13b13b14h
DQ 3ff3a524387ac822h
DQ 3ff3991c2c187f63h
DQ 3ff38d22d366088eh
DQ 3ff3813813813814h
DQ 3ff3755bd1c945eeh
DQ 3ff3698df3de0748h
DQ 3ff35dce5f9f2af8h
DQ 3ff3521cfb2b78c1h
DQ 3ff34679ace01346h
DQ 3ff33ae45b57bcb2h
DQ 3ff32f5ced6a1dfah
DQ 3ff323e34a2b10bfh
DQ 3ff3187758e9ebb6h
DQ 3ff30d190130d190h
DQ 3ff301c82ac40260h
DQ 3ff2f684bda12f68h
DQ 3ff2eb4ea1fed14bh
DQ 3ff2e025c04b8097h
DQ 3ff2d50a012d50a0h
DQ 3ff2c9fb4d812ca0h
DQ 3ff2bef98e5a3711h
DQ 3ff2b404ad012b40h
DQ 3ff2a91c92f3c105h
DQ 3ff29e4129e4129eh
DQ 3ff293725bb804a5h
DQ 3ff288b01288b013h
DQ 3ff27dfa38a1ce4dh
DQ 3ff27350b8812735h
DQ 3ff268b37cd60127h
DQ 3ff25e22708092f1h
DQ 3ff2539d7e9177b2h
DQ 3ff2492492492492h
DQ 3ff23eb79717605bh
DQ 3ff23456789abcdfh
DQ 3ff22a0122a0122ah
DQ 3ff21fb78121fb78h
DQ 3ff21579804855e6h
DQ 3ff20b470c67c0d9h
DQ 3ff2012012012012h
DQ 3ff1f7047dc11f70h
DQ 3ff1ecf43c7fb84ch
DQ 3ff1e2ef3b3fb874h
DQ 3ff1d8f5672e4abdh
DQ 3ff1cf06ada2811dh
DQ 3ff1c522fc1ce059h
DQ 3ff1bb4a4046ed29h
DQ 3ff1b17c67f2bae3h
DQ 3ff1a7b9611a7b96h
DQ 3ff19e0119e0119eh
DQ 3ff19453808ca29ch
DQ 3ff18ab083902bdbh
DQ 3ff1811811811812h
DQ 3ff1778a191bd684h
DQ 3ff16e0689427379h
DQ 3ff1648d50fc3201h
DQ 3ff15b1e5f75270dh
DQ 3ff151b9a3fdd5c9h
DQ 3ff1485f0e0acd3bh
DQ 3ff13f0e8d344724h
DQ 3ff135c81135c811h
DQ 3ff12c8b89edc0ach
DQ 3ff12358e75d3033h
DQ 3ff11a3019a74826h
DQ 3ff1111111111111h
DQ 3ff107fbbe011080h
DQ 3ff0fef010fef011h
DQ 3ff0f5edfab325a2h
DQ 3ff0ecf56be69c90h
DQ 3ff0e40655826011h
DQ 3ff0db20a88f4696h
DQ 3ff0d24456359e3ah
DQ 3ff0c9714fbcda3bh
DQ 3ff0c0a7868b4171h
DQ 3ff0b7e6ec259dc8h
DQ 3ff0af2f722eecb5h
DQ 3ff0a6810a6810a7h
DQ 3ff09ddba6af8360h
DQ 3ff0953f39010954h
DQ 3ff08cabb37565e2h
DQ 3ff0842108421084h
DQ 3ff07b9f29b8eae2h
DQ 3ff073260a47f7c6h
DQ 3ff06ab59c7912fbh
DQ 3ff0624dd2f1a9fch
DQ 3ff059eea0727586h
DQ 3ff05197f7d73404h
DQ 3ff04949cc1664c5h
DQ 3ff0410410410410h
DQ 3ff038c6b78247fch
DQ 3ff03091b51f5e1ah
DQ 3ff02864fc7729e9h
DQ 3ff0204081020408h
DQ 3ff0182436517a37h
DQ 3ff0101010101010h
DQ 3ff0080402010080h
DQ 3ff0000000000000h
DQ 0000000000000000h
END

View file

@ -0,0 +1,294 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __log_F_inv_qword
** Used in log10 and log
**
*/
#include <crtdefs.h>
const unsigned long long _CRT_ALIGN(16) __log_F_inv_qword[] =
{
0x4000000000000000ull,
0x3fffe01fe01fe020ull,
0x3fffc07f01fc07f0ull,
0x3fffa11caa01fa12ull,
0x3fff81f81f81f820ull,
0x3fff6310aca0dbb5ull,
0x3fff44659e4a4271ull,
0x3fff25f644230ab5ull,
0x3fff07c1f07c1f08ull,
0x3ffee9c7f8458e02ull,
0x3ffecc07b301ecc0ull,
0x3ffeae807aba01ebull,
0x3ffe9131abf0b767ull,
0x3ffe741aa59750e4ull,
0x3ffe573ac901e574ull,
0x3ffe3a9179dc1a73ull,
0x3ffe1e1e1e1e1e1eull,
0x3ffe01e01e01e01eull,
0x3ffde5d6e3f8868aull,
0x3ffdca01dca01dcaull,
0x3ffdae6076b981dbull,
0x3ffd92f2231e7f8aull,
0x3ffd77b654b82c34ull,
0x3ffd5cac807572b2ull,
0x3ffd41d41d41d41dull,
0x3ffd272ca3fc5b1aull,
0x3ffd0cb58f6ec074ull,
0x3ffcf26e5c44bfc6ull,
0x3ffcd85689039b0bull,
0x3ffcbe6d9601cbe7ull,
0x3ffca4b3055ee191ull,
0x3ffc8b265afb8a42ull,
0x3ffc71c71c71c71cull,
0x3ffc5894d10d4986ull,
0x3ffc3f8f01c3f8f0ull,
0x3ffc26b5392ea01cull,
0x3ffc0e070381c0e0ull,
0x3ffbf583ee868d8bull,
0x3ffbdd2b899406f7ull,
0x3ffbc4fd65883e7bull,
0x3ffbacf914c1bad0ull,
0x3ffb951e2b18ff23ull,
0x3ffb7d6c3dda338bull,
0x3ffb65e2e3beee05ull,
0x3ffb4e81b4e81b4full,
0x3ffb37484ad806ceull,
0x3ffb2036406c80d9ull,
0x3ffb094b31d922a4ull,
0x3ffaf286bca1af28ull,
0x3ffadbe87f94905eull,
0x3ffac5701ac5701bull,
0x3ffaaf1d2f87ebfdull,
0x3ffa98ef606a63beull,
0x3ffa82e65130e159ull,
0x3ffa6d01a6d01a6dull,
0x3ffa574107688a4aull,
0x3ffa41a41a41a41aull,
0x3ffa2c2a87c51ca0ull,
0x3ffa16d3f97a4b02ull,
0x3ffa01a01a01a01aull,
0x3ff9ec8e951033d9ull,
0x3ff9d79f176b682dull,
0x3ff9c2d14ee4a102ull,
0x3ff9ae24ea5510daull,
0x3ff999999999999aull,
0x3ff9852f0d8ec0ffull,
0x3ff970e4f80cb872ull,
0x3ff95cbb0be377aeull,
0x3ff948b0fcd6e9e0ull,
0x3ff934c67f9b2ce6ull,
0x3ff920fb49d0e229ull,
0x3ff90d4f120190d5ull,
0x3ff8f9c18f9c18faull,
0x3ff8e6527af1373full,
0x3ff8d3018d3018d3ull,
0x3ff8bfce8062ff3aull,
0x3ff8acb90f6bf3aaull,
0x3ff899c0f601899cull,
0x3ff886e5f0abb04aull,
0x3ff87427bcc092b9ull,
0x3ff8618618618618ull,
0x3ff84f00c2780614ull,
0x3ff83c977ab2beddull,
0x3ff82a4a0182a4a0ull,
0x3ff8181818181818ull,
0x3ff8060180601806ull,
0x3ff7f405fd017f40ull,
0x3ff7e225515a4f1dull,
0x3ff7d05f417d05f4ull,
0x3ff7beb3922e017cull,
0x3ff7ad2208e0ecc3ull,
0x3ff79baa6bb6398bull,
0x3ff78a4c8178a4c8ull,
0x3ff77908119ac60dull,
0x3ff767dce434a9b1ull,
0x3ff756cac201756dull,
0x3ff745d1745d1746ull,
0x3ff734f0c541fe8dull,
0x3ff724287f46debcull,
0x3ff713786d9c7c09ull,
0x3ff702e05c0b8170ull,
0x3ff6f26016f26017ull,
0x3ff6e1f76b4337c7ull,
0x3ff6d1a62681c861ull,
0x3ff6c16c16c16c17ull,
0x3ff6b1490aa31a3dull,
0x3ff6a13cd1537290ull,
0x3ff691473a88d0c0ull,
0x3ff6816816816817ull,
0x3ff6719f3601671aull,
0x3ff661ec6a5122f9ull,
0x3ff6524f853b4aa3ull,
0x3ff642c8590b2164ull,
0x3ff63356b88ac0deull,
0x3ff623fa77016240ull,
0x3ff614b36831ae94ull,
0x3ff6058160581606ull,
0x3ff5f66434292dfcull,
0x3ff5e75bb8d015e7ull,
0x3ff5d867c3ece2a5ull,
0x3ff5c9882b931057ull,
0x3ff5babcc647fa91ull,
0x3ff5ac056b015ac0ull,
0x3ff59d61f123ccaaull,
0x3ff58ed2308158edull,
0x3ff5805601580560ull,
0x3ff571ed3c506b3aull,
0x3ff56397ba7c52e2ull,
0x3ff5555555555555ull,
0x3ff54725e6bb82feull,
0x3ff5390948f40febull,
0x3ff52aff56a8054bull,
0x3ff51d07eae2f815ull,
0x3ff50f22e111c4c5ull,
0x3ff5015015015015ull,
0x3ff4f38f62dd4c9bull,
0x3ff4e5e0a72f0539ull,
0x3ff4d843bedc2c4cull,
0x3ff4cab88725af6eull,
0x3ff4bd3edda68fe1ull,
0x3ff4afd6a052bf5bull,
0x3ff4a27fad76014aull,
0x3ff49539e3b2d067ull,
0x3ff4880522014880ull,
0x3ff47ae147ae147bull,
0x3ff46dce34596066ull,
0x3ff460cbc7f5cf9aull,
0x3ff453d9e2c776caull,
0x3ff446f86562d9fbull,
0x3ff43a2730abee4dull,
0x3ff42d6625d51f87ull,
0x3ff420b5265e5951ull,
0x3ff4141414141414ull,
0x3ff40782d10e6566ull,
0x3ff3fb013fb013fbull,
0x3ff3ee8f42a5af07ull,
0x3ff3e22cbce4a902ull,
0x3ff3d5d991aa75c6ull,
0x3ff3c995a47babe7ull,
0x3ff3bd60d9232955ull,
0x3ff3b13b13b13b14ull,
0x3ff3a524387ac822ull,
0x3ff3991c2c187f63ull,
0x3ff38d22d366088eull,
0x3ff3813813813814ull,
0x3ff3755bd1c945eeull,
0x3ff3698df3de0748ull,
0x3ff35dce5f9f2af8ull,
0x3ff3521cfb2b78c1ull,
0x3ff34679ace01346ull,
0x3ff33ae45b57bcb2ull,
0x3ff32f5ced6a1dfaull,
0x3ff323e34a2b10bfull,
0x3ff3187758e9ebb6ull,
0x3ff30d190130d190ull,
0x3ff301c82ac40260ull,
0x3ff2f684bda12f68ull,
0x3ff2eb4ea1fed14bull,
0x3ff2e025c04b8097ull,
0x3ff2d50a012d50a0ull,
0x3ff2c9fb4d812ca0ull,
0x3ff2bef98e5a3711ull,
0x3ff2b404ad012b40ull,
0x3ff2a91c92f3c105ull,
0x3ff29e4129e4129eull,
0x3ff293725bb804a5ull,
0x3ff288b01288b013ull,
0x3ff27dfa38a1ce4dull,
0x3ff27350b8812735ull,
0x3ff268b37cd60127ull,
0x3ff25e22708092f1ull,
0x3ff2539d7e9177b2ull,
0x3ff2492492492492ull,
0x3ff23eb79717605bull,
0x3ff23456789abcdfull,
0x3ff22a0122a0122aull,
0x3ff21fb78121fb78ull,
0x3ff21579804855e6ull,
0x3ff20b470c67c0d9ull,
0x3ff2012012012012ull,
0x3ff1f7047dc11f70ull,
0x3ff1ecf43c7fb84cull,
0x3ff1e2ef3b3fb874ull,
0x3ff1d8f5672e4abdull,
0x3ff1cf06ada2811dull,
0x3ff1c522fc1ce059ull,
0x3ff1bb4a4046ed29ull,
0x3ff1b17c67f2bae3ull,
0x3ff1a7b9611a7b96ull,
0x3ff19e0119e0119eull,
0x3ff19453808ca29cull,
0x3ff18ab083902bdbull,
0x3ff1811811811812ull,
0x3ff1778a191bd684ull,
0x3ff16e0689427379ull,
0x3ff1648d50fc3201ull,
0x3ff15b1e5f75270dull,
0x3ff151b9a3fdd5c9ull,
0x3ff1485f0e0acd3bull,
0x3ff13f0e8d344724ull,
0x3ff135c81135c811ull,
0x3ff12c8b89edc0acull,
0x3ff12358e75d3033ull,
0x3ff11a3019a74826ull,
0x3ff1111111111111ull,
0x3ff107fbbe011080ull,
0x3ff0fef010fef011ull,
0x3ff0f5edfab325a2ull,
0x3ff0ecf56be69c90ull,
0x3ff0e40655826011ull,
0x3ff0db20a88f4696ull,
0x3ff0d24456359e3aull,
0x3ff0c9714fbcda3bull,
0x3ff0c0a7868b4171ull,
0x3ff0b7e6ec259dc8ull,
0x3ff0af2f722eecb5ull,
0x3ff0a6810a6810a7ull,
0x3ff09ddba6af8360ull,
0x3ff0953f39010954ull,
0x3ff08cabb37565e2ull,
0x3ff0842108421084ull,
0x3ff07b9f29b8eae2ull,
0x3ff073260a47f7c6ull,
0x3ff06ab59c7912fbull,
0x3ff0624dd2f1a9fcull,
0x3ff059eea0727586ull,
0x3ff05197f7d73404ull,
0x3ff04949cc1664c5ull,
0x3ff0410410410410ull,
0x3ff038c6b78247fcull,
0x3ff03091b51f5e1aull,
0x3ff02864fc7729e9ull,
0x3ff0204081020408ull,
0x3ff0182436517a37ull,
0x3ff0101010101010ull,
0x3ff0080402010080ull,
0x3ff0000000000000ull,
0x0000000000000000ull,
};

View file

@ -1,165 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __two_to_jby64_head_table and __two_to_jby64_tail_table tables
;; Used in exp and pow
;;
.const
ALIGN 16
PUBLIC __two_to_jby64_head_table
__two_to_jby64_head_table DQ 3ff0000000000000h
DQ 3ff02c9a30000000h
DQ 3ff059b0d0000000h
DQ 3ff0874510000000h
DQ 3ff0b55860000000h
DQ 3ff0e3ec30000000h
DQ 3ff11301d0000000h
DQ 3ff1429aa0000000h
DQ 3ff172b830000000h
DQ 3ff1a35be0000000h
DQ 3ff1d48730000000h
DQ 3ff2063b80000000h
DQ 3ff2387a60000000h
DQ 3ff26b4560000000h
DQ 3ff29e9df0000000h
DQ 3ff2d285a0000000h
DQ 3ff306fe00000000h
DQ 3ff33c08b0000000h
DQ 3ff371a730000000h
DQ 3ff3a7db30000000h
DQ 3ff3dea640000000h
DQ 3ff4160a20000000h
DQ 3ff44e0860000000h
DQ 3ff486a2b0000000h
DQ 3ff4bfdad0000000h
DQ 3ff4f9b270000000h
DQ 3ff5342b50000000h
DQ 3ff56f4730000000h
DQ 3ff5ab07d0000000h
DQ 3ff5e76f10000000h
DQ 3ff6247eb0000000h
DQ 3ff6623880000000h
DQ 3ff6a09e60000000h
DQ 3ff6dfb230000000h
DQ 3ff71f75e0000000h
DQ 3ff75feb50000000h
DQ 3ff7a11470000000h
DQ 3ff7e2f330000000h
DQ 3ff8258990000000h
DQ 3ff868d990000000h
DQ 3ff8ace540000000h
DQ 3ff8f1ae90000000h
DQ 3ff93737b0000000h
DQ 3ff97d8290000000h
DQ 3ff9c49180000000h
DQ 3ffa0c6670000000h
DQ 3ffa5503b0000000h
DQ 3ffa9e6b50000000h
DQ 3ffae89f90000000h
DQ 3ffb33a2b0000000h
DQ 3ffb7f76f0000000h
DQ 3ffbcc1e90000000h
DQ 3ffc199bd0000000h
DQ 3ffc67f120000000h
DQ 3ffcb720d0000000h
DQ 3ffd072d40000000h
DQ 3ffd5818d0000000h
DQ 3ffda9e600000000h
DQ 3ffdfc9730000000h
DQ 3ffe502ee0000000h
DQ 3ffea4afa0000000h
DQ 3ffefa1be0000000h
DQ 3fff507650000000h
DQ 3fffa7c180000000h
ALIGN 16
PUBLIC __two_to_jby64_tail_table
__two_to_jby64_tail_table DQ 0000000000000000h
DQ 3e6cef00c1dcdef9h
DQ 3e48ac2ba1d73e2ah
DQ 3e60eb37901186beh
DQ 3e69f3121ec53172h
DQ 3e469e8d10103a17h
DQ 3df25b50a4ebbf1ah
DQ 3e6d525bbf668203h
DQ 3e68faa2f5b9bef9h
DQ 3e66df96ea796d31h
DQ 3e368b9aa7805b80h
DQ 3e60c519ac771dd6h
DQ 3e6ceac470cd83f5h
DQ 3e5789f37495e99ch
DQ 3e547f7b84b09745h
DQ 3e5b900c2d002475h
DQ 3e64636e2a5bd1abh
DQ 3e4320b7fa64e430h
DQ 3e5ceaa72a9c5154h
DQ 3e53967fdba86f24h
DQ 3e682468446b6824h
DQ 3e3f72e29f84325bh
DQ 3e18624b40c4dbd0h
DQ 3e5704f3404f068eh
DQ 3e54d8a89c750e5eh
DQ 3e5a74b29ab4cf62h
DQ 3e5a753e077c2a0fh
DQ 3e5ad49f699bb2c0h
DQ 3e6a90a852b19260h
DQ 3e56b48521ba6f93h
DQ 3e0d2ac258f87d03h
DQ 3e42a91124893ecfh
DQ 3e59fcef32422cbeh
DQ 3e68ca345de441c5h
DQ 3e61d8bee7ba46e1h
DQ 3e59099f22fdba6ah
DQ 3e4f580c36bea881h
DQ 3e5b3d398841740ah
DQ 3e62999c25159f11h
DQ 3e668925d901c83bh
DQ 3e415506dadd3e2ah
DQ 3e622aee6c57304eh
DQ 3e29b8bc9e8a0387h
DQ 3e6fbc9c9f173d24h
DQ 3e451f8480e3e235h
DQ 3e66bbcac96535b5h
DQ 3e41f12ae45a1224h
DQ 3e55e7f6fd0fac90h
DQ 3e62b5a75abd0e69h
DQ 3e609e2bf5ed7fa1h
DQ 3e47daf237553d84h
DQ 3e12f074891ee83dh
DQ 3e6b0aa538444196h
DQ 3e6cafa29694426fh
DQ 3e69df20d22a0797h
DQ 3e640f12f71a1e45h
DQ 3e69f7490e4bb40bh
DQ 3e4ed9942b84600dh
DQ 3e4bdcdaf5cb4656h
DQ 3e5e2cffd89cf44ch
DQ 3e452486cc2c7b9dh
DQ 3e6cc2b44eee3fa4h
DQ 3e66dc8a80ce9f09h
DQ 3e39e90d82e90a7eh
END

View file

@ -0,0 +1,167 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __two_to_jby64_head_table and __two_to_jby64_tail_table tables
** Used in exp and pow
**
*/
#include <crtdefs.h>
const unsigned long long _CRT_ALIGN(16) __two_to_jby64_head_table[] =
{
0x3ff0000000000000ull,
0x3ff02c9a30000000ull,
0x3ff059b0d0000000ull,
0x3ff0874510000000ull,
0x3ff0b55860000000ull,
0x3ff0e3ec30000000ull,
0x3ff11301d0000000ull,
0x3ff1429aa0000000ull,
0x3ff172b830000000ull,
0x3ff1a35be0000000ull,
0x3ff1d48730000000ull,
0x3ff2063b80000000ull,
0x3ff2387a60000000ull,
0x3ff26b4560000000ull,
0x3ff29e9df0000000ull,
0x3ff2d285a0000000ull,
0x3ff306fe00000000ull,
0x3ff33c08b0000000ull,
0x3ff371a730000000ull,
0x3ff3a7db30000000ull,
0x3ff3dea640000000ull,
0x3ff4160a20000000ull,
0x3ff44e0860000000ull,
0x3ff486a2b0000000ull,
0x3ff4bfdad0000000ull,
0x3ff4f9b270000000ull,
0x3ff5342b50000000ull,
0x3ff56f4730000000ull,
0x3ff5ab07d0000000ull,
0x3ff5e76f10000000ull,
0x3ff6247eb0000000ull,
0x3ff6623880000000ull,
0x3ff6a09e60000000ull,
0x3ff6dfb230000000ull,
0x3ff71f75e0000000ull,
0x3ff75feb50000000ull,
0x3ff7a11470000000ull,
0x3ff7e2f330000000ull,
0x3ff8258990000000ull,
0x3ff868d990000000ull,
0x3ff8ace540000000ull,
0x3ff8f1ae90000000ull,
0x3ff93737b0000000ull,
0x3ff97d8290000000ull,
0x3ff9c49180000000ull,
0x3ffa0c6670000000ull,
0x3ffa5503b0000000ull,
0x3ffa9e6b50000000ull,
0x3ffae89f90000000ull,
0x3ffb33a2b0000000ull,
0x3ffb7f76f0000000ull,
0x3ffbcc1e90000000ull,
0x3ffc199bd0000000ull,
0x3ffc67f120000000ull,
0x3ffcb720d0000000ull,
0x3ffd072d40000000ull,
0x3ffd5818d0000000ull,
0x3ffda9e600000000ull,
0x3ffdfc9730000000ull,
0x3ffe502ee0000000ull,
0x3ffea4afa0000000ull,
0x3ffefa1be0000000ull,
0x3fff507650000000ull,
0x3fffa7c180000000ull,
};
const unsigned long long _CRT_ALIGN(16) __two_to_jby64_tail_table[] =
{
0x0000000000000000ull,
0x3e6cef00c1dcdef9ull,
0x3e48ac2ba1d73e2aull,
0x3e60eb37901186beull,
0x3e69f3121ec53172ull,
0x3e469e8d10103a17ull,
0x3df25b50a4ebbf1aull,
0x3e6d525bbf668203ull,
0x3e68faa2f5b9bef9ull,
0x3e66df96ea796d31ull,
0x3e368b9aa7805b80ull,
0x3e60c519ac771dd6ull,
0x3e6ceac470cd83f5ull,
0x3e5789f37495e99cull,
0x3e547f7b84b09745ull,
0x3e5b900c2d002475ull,
0x3e64636e2a5bd1abull,
0x3e4320b7fa64e430ull,
0x3e5ceaa72a9c5154ull,
0x3e53967fdba86f24ull,
0x3e682468446b6824ull,
0x3e3f72e29f84325bull,
0x3e18624b40c4dbd0ull,
0x3e5704f3404f068eull,
0x3e54d8a89c750e5eull,
0x3e5a74b29ab4cf62ull,
0x3e5a753e077c2a0full,
0x3e5ad49f699bb2c0ull,
0x3e6a90a852b19260ull,
0x3e56b48521ba6f93ull,
0x3e0d2ac258f87d03ull,
0x3e42a91124893ecfull,
0x3e59fcef32422cbeull,
0x3e68ca345de441c5ull,
0x3e61d8bee7ba46e1ull,
0x3e59099f22fdba6aull,
0x3e4f580c36bea881ull,
0x3e5b3d398841740aull,
0x3e62999c25159f11ull,
0x3e668925d901c83bull,
0x3e415506dadd3e2aull,
0x3e622aee6c57304eull,
0x3e29b8bc9e8a0387ull,
0x3e6fbc9c9f173d24ull,
0x3e451f8480e3e235ull,
0x3e66bbcac96535b5ull,
0x3e41f12ae45a1224ull,
0x3e55e7f6fd0fac90ull,
0x3e62b5a75abd0e69ull,
0x3e609e2bf5ed7fa1ull,
0x3e47daf237553d84ull,
0x3e12f074891ee83dull,
0x3e6b0aa538444196ull,
0x3e6cafa29694426full,
0x3e69df20d22a0797ull,
0x3e640f12f71a1e45ull,
0x3e69f7490e4bb40bull,
0x3e4ed9942b84600dull,
0x3e4bdcdaf5cb4656ull,
0x3e5e2cffd89cf44cull,
0x3e452486cc2c7b9dull,
0x3e6cc2b44eee3fa4ull,
0x3e66dc8a80ce9f09ull,
0x3e39e90d82e90a7eull,
};

View file

@ -1,99 +0,0 @@
;;
;
; MIT License
; -----------
;
; Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this Software and associated documentaon files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
;
;; Defines __two_to_jby64_table table
;; Used by exp and expf
;;
.const
ALIGN 16
PUBLIC __two_to_jby64_table
__two_to_jby64_table DQ 3ff0000000000000h
DQ 3ff02c9a3e778061h
DQ 3ff059b0d3158574h
DQ 3ff0874518759bc8h
DQ 3ff0b5586cf9890fh
DQ 3ff0e3ec32d3d1a2h
DQ 3ff11301d0125b51h
DQ 3ff1429aaea92de0h
DQ 3ff172b83c7d517bh
DQ 3ff1a35beb6fcb75h
DQ 3ff1d4873168b9aah
DQ 3ff2063b88628cd6h
DQ 3ff2387a6e756238h
DQ 3ff26b4565e27cddh
DQ 3ff29e9df51fdee1h
DQ 3ff2d285a6e4030bh
DQ 3ff306fe0a31b715h
DQ 3ff33c08b26416ffh
DQ 3ff371a7373aa9cbh
DQ 3ff3a7db34e59ff7h
DQ 3ff3dea64c123422h
DQ 3ff4160a21f72e2ah
DQ 3ff44e086061892dh
DQ 3ff486a2b5c13cd0h
DQ 3ff4bfdad5362a27h
DQ 3ff4f9b2769d2ca7h
DQ 3ff5342b569d4f82h
DQ 3ff56f4736b527dah
DQ 3ff5ab07dd485429h
DQ 3ff5e76f15ad2148h
DQ 3ff6247eb03a5585h
DQ 3ff6623882552225h
DQ 3ff6a09e667f3bcdh
DQ 3ff6dfb23c651a2fh
DQ 3ff71f75e8ec5f74h
DQ 3ff75feb564267c9h
DQ 3ff7a11473eb0187h
DQ 3ff7e2f336cf4e62h
DQ 3ff82589994cce13h
DQ 3ff868d99b4492edh
DQ 3ff8ace5422aa0dbh
DQ 3ff8f1ae99157736h
DQ 3ff93737b0cdc5e5h
DQ 3ff97d829fde4e50h
DQ 3ff9c49182a3f090h
DQ 3ffa0c667b5de565h
DQ 3ffa5503b23e255dh
DQ 3ffa9e6b5579fdbfh
DQ 3ffae89f995ad3adh
DQ 3ffb33a2b84f15fbh
DQ 3ffb7f76f2fb5e47h
DQ 3ffbcc1e904bc1d2h
DQ 3ffc199bdd85529ch
DQ 3ffc67f12e57d14bh
DQ 3ffcb720dcef9069h
DQ 3ffd072d4a07897ch
DQ 3ffd5818dcfba487h
DQ 3ffda9e603db3285h
DQ 3ffdfc97337b9b5fh
DQ 3ffe502ee78b3ff6h
DQ 3ffea4afa2a490dah
DQ 3ffefa1bee615a27h
DQ 3fff50765b6e4540h
DQ 3fffa7c1819e90d8h
END

View file

@ -0,0 +1,99 @@
/*
* MIT License
* -----------
*
* Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this Software and associated documentaon files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
**
** Defines __two_to_jby64_table table
** Used by exp and expf
**
*/
#include <crtdefs.h>
const unsigned long long _CRT_ALIGN(16) __two_to_jby64_table[] =
{
0x3ff0000000000000ull,
0x3ff02c9a3e778061ull,
0x3ff059b0d3158574ull,
0x3ff0874518759bc8ull,
0x3ff0b5586cf9890full,
0x3ff0e3ec32d3d1a2ull,
0x3ff11301d0125b51ull,
0x3ff1429aaea92de0ull,
0x3ff172b83c7d517bull,
0x3ff1a35beb6fcb75ull,
0x3ff1d4873168b9aaull,
0x3ff2063b88628cd6ull,
0x3ff2387a6e756238ull,
0x3ff26b4565e27cddull,
0x3ff29e9df51fdee1ull,
0x3ff2d285a6e4030bull,
0x3ff306fe0a31b715ull,
0x3ff33c08b26416ffull,
0x3ff371a7373aa9cbull,
0x3ff3a7db34e59ff7ull,
0x3ff3dea64c123422ull,
0x3ff4160a21f72e2aull,
0x3ff44e086061892dull,
0x3ff486a2b5c13cd0ull,
0x3ff4bfdad5362a27ull,
0x3ff4f9b2769d2ca7ull,
0x3ff5342b569d4f82ull,
0x3ff56f4736b527daull,
0x3ff5ab07dd485429ull,
0x3ff5e76f15ad2148ull,
0x3ff6247eb03a5585ull,
0x3ff6623882552225ull,
0x3ff6a09e667f3bcdull,
0x3ff6dfb23c651a2full,
0x3ff71f75e8ec5f74ull,
0x3ff75feb564267c9ull,
0x3ff7a11473eb0187ull,
0x3ff7e2f336cf4e62ull,
0x3ff82589994cce13ull,
0x3ff868d99b4492edull,
0x3ff8ace5422aa0dbull,
0x3ff8f1ae99157736ull,
0x3ff93737b0cdc5e5ull,
0x3ff97d829fde4e50ull,
0x3ff9c49182a3f090ull,
0x3ffa0c667b5de565ull,
0x3ffa5503b23e255dull,
0x3ffa9e6b5579fdbfull,
0x3ffae89f995ad3adull,
0x3ffb33a2b84f15fbull,
0x3ffb7f76f2fb5e47ull,
0x3ffbcc1e904bc1d2ull,
0x3ffc199bdd85529cull,
0x3ffc67f12e57d14bull,
0x3ffcb720dcef9069ull,
0x3ffd072d4a07897cull,
0x3ffd5818dcfba487ull,
0x3ffda9e603db3285ull,
0x3ffdfc97337b9b5full,
0x3ffe502ee78b3ff6ull,
0x3ffea4afa2a490daull,
0x3ffefa1bee615a27ull,
0x3fff50765b6e4540ull,
0x3fffa7c1819e90d8ull,
};