/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
!! 2^(i/256) - ((i & 0xf0) << 44), i = [0, 255]
.
word 0x3ff00000,
0x00000000,
0x3ff00b1a,
0xfa5abcbf .
word 0x3ff0163d,
0xa9fb3335,
0x3ff02168,
0x143b0281 .
word 0x3ff02c9a,
0x3e778061,
0x3ff037d4,
0x2e11bbcc .
word 0x3ff04315,
0xe86e7f85,
0x3ff04e5f,
0x72f654b1 .
word 0x3ff059b0,
0xd3158574,
0x3ff0650a,
0x0e3c1f89 .
word 0x3ff0706b,
0x29ddf6de,
0x3ff07bd4,
0x2b72a836 .
word 0x3ff08745,
0x18759bc8,
0x3ff092bd,
0xf66607e0 .
word 0x3ff09e3e,
0xcac6f383,
0x3ff0a9c7,
0x9b1f3919 .
word 0x3fefb558,
0x6cf9890f,
0x3fefc0f1,
0x45e46c85 .
word 0x3fefcc92,
0x2b7247f7,
0x3fefd83b,
0x23395dec .
word 0x3fefe3ec,
0x32d3d1a2,
0x3fefefa5,
0x5fdfa9c5 .
word 0x3feffb66,
0xaffed31b,
0x3ff00730,
0x28d7233e .
word 0x3ff01301,
0xd0125b51,
0x3ff01edb,
0xab5e2ab6 .
word 0x3ff02abd,
0xc06c31cc,
0x3ff036a8,
0x14f204ab .
word 0x3ff0429a,
0xaea92de0,
0x3ff04e95,
0x934f312e .
word 0x3ff05a98,
0xc8a58e51,
0x3ff066a4,
0x5471c3c2 .
word 0x3fef72b8,
0x3c7d517b,
0x3fef7ed4,
0x8695bbc0 .
word 0x3fef8af9,
0x388c8dea,
0x3fef9726,
0x58375d2f .
word 0x3fefa35b,
0xeb6fcb75,
0x3fefaf99,
0xf8138a1c .
word 0x3fefbbe0,
0x84045cd4,
0x3fefc82f,
0x95281c6b .
word 0x3fefd487,
0x3168b9aa,
0x3fefe0e7,
0x5eb44027 .
word 0x3fefed50,
0x22fcd91d,
0x3feff9c1,
0x8438ce4d .
word 0x3ff0063b,
0x88628cd6,
0x3ff012be,
0x3578a819 .
word 0x3ff01f49,
0x917ddc96,
0x3ff02bdd,
0xa27912d1 .
word 0x3fef387a,
0x6e756238,
0x3fef451f,
0xfb82140a .
word 0x3fef51ce,
0x4fb2a63f,
0x3fef5e85,
0x711ece75 .
word 0x3fef6b45,
0x65e27cdd,
0x3fef780e,
0x341ddf29 .
word 0x3fef84df,
0xe1f56381,
0x3fef91ba,
0x7591bb70 .
word 0x3fef9e9d,
0xf51fdee1,
0x3fefab8a,
0x66d10f13 .
word 0x3fefb87f,
0xd0dad990,
0x3fefc57e,
0x39771b2f .
word 0x3fefd285,
0xa6e4030b,
0x3fefdf96,
0x1f641589 .
word 0x3fefecaf,
0xa93e2f56,
0x3feff9d2,
0x4abd886b .
word 0x3fef06fe,
0x0a31b715,
0x3fef1432,
0xedeeb2fd .
word 0x3fef2170,
0xfc4cd831,
0x3fef2eb8,
0x3ba8ea32 .
word 0x3fef3c08,
0xb26416ff,
0x3fef4962,
0x66e3fa2d .
word 0x3fef56c5,
0x5f929ff1,
0x3fef6431,
0xa2de883b .
word 0x3fef71a7,
0x373aa9cb,
0x3fef7f26,
0x231e754a .
word 0x3fef8cae,
0x6d05d866,
0x3fef9a40,
0x1b7140ef .
word 0x3fefa7db,
0x34e59ff7,
0x3fefb57f,
0xbfec6cf4 .
word 0x3fefc32d,
0xc313a8e5,
0x3fefd0e5,
0x44ede173 .
word 0x3feedea6,
0x4c123422,
0x3feeec70,
0xdf1c5175 .
word 0x3feefa45,
0x04ac801c,
0x3fef0822,
0xc367a024 .
word 0x3fef160a,
0x21f72e2a,
0x3fef23fb,
0x2709468a .
word 0x3fef31f5,
0xd950a897,
0x3fef3ffa,
0x3f84b9d4 .
word 0x3fef4e08,
0x6061892d,
0x3fef5c20,
0x42a7d232 .
word 0x3fef6a41,
0xed1d0057,
0x3fef786d,
0x668b3237 .
word 0x3fef86a2,
0xb5c13cd0,
0x3fef94e1,
0xe192aed2 .
word 0x3fefa32a,
0xf0d7d3de,
0x3fefb17d,
0xea6db7d7 .
word 0x3feebfda,
0xd5362a27,
0x3feece41,
0xb817c114 .
word 0x3feedcb2,
0x99fddd0d,
0x3feeeb2d,
0x81d8abff .
word 0x3feef9b2,
0x769d2ca7,
0x3fef0841,
0x7f4531ee .
word 0x3fef16da,
0xa2cf6642,
0x3fef257d,
0xe83f4eef .
word 0x3fef342b,
0x569d4f82,
0x3fef42e2,
0xf4f6ad27 .
word 0x3fef51a4,
0xca5d920f,
0x3fef6070,
0xdde910d2 .
word 0x3fef6f47,
0x36b527da,
0x3fef7e27,
0xdbe2c4cf .
word 0x3fef8d12,
0xd497c7fd,
0x3fef9c08,
0x27ff07cc .
word 0x3feeab07,
0xdd485429,
0x3feeba11,
0xfba87a03 .
word 0x3feec926,
0x8a5946b7,
0x3feed845,
0x90998b93 .
word 0x3feee76f,
0x15ad2148,
0x3feef6a3,
0x20dceb71 .
word 0x3fef05e1,
0xb976dc09,
0x3fef152a,
0xe6cdf6f4 .
word 0x3fef247e,
0xb03a5585,
0x3fef33dd,
0x1d1929fd .
word 0x3fef4346,
0x34ccc320,
0x3fef52b9,
0xfebc8fb7 .
word 0x3fef6238,
0x82552225,
0x3fef71c1,
0xc70833f6 .
word 0x3fef8155,
0xd44ca973,
0x3fef90f4,
0xb19e9538 .
word 0x3feea09e,
0x667f3bcd,
0x3feeb052,
0xfa75173e .
word 0x3feec012,
0x750bdabf,
0x3feecfdc,
0xddd47645 .
word 0x3feedfb2,
0x3c651a2f,
0x3feeef92,
0x98593ae5 .
word 0x3feeff7d,
0xf9519484,
0x3fef0f74,
0x66f42e87 .
word 0x3fef1f75,
0xe8ec5f74,
0x3fef2f82,
0x86ead08a .
word 0x3fef3f9a,
0x48a58174,
0x3fef4fbd,
0x35d7cbfd .
word 0x3fef5feb,
0x564267c9,
0x3fef7024,
0xb1ab6e09 .
word 0x3fef8069,
0x4fde5d3f,
0x3fef90b9,
0x38ac1cf6 .
word 0x3feea114,
0x73eb0187,
0x3feeb17b,
0x0976cfdb .
word 0x3feec1ed,
0x0130c132,
0x3feed26a,
0x62ff86f0 .
word 0x3feee2f3,
0x36cf4e62,
0x3feef387,
0x8491c491 .
word 0x3fef0427,
0x543e1a12,
0x3fef14d2,
0xadd106d9 .
word 0x3fef2589,
0x994cce13,
0x3fef364c,
0x1eb941f7 .
word 0x3fef471a,
0x4623c7ad,
0x3fef57f4,
0x179f5b21 .
word 0x3fef68d9,
0x9b4492ed,
0x3fef79ca,
0xd931a436 .
word 0x3fef8ac7,
0xd98a6699,
0x3fef9bd0,
0xa478580f .
word 0x3feeace5,
0x422aa0db,
0x3feebe05,
0xbad61778 .
word 0x3feecf32,
0x16b5448c,
0x3feee06a,
0x5e0866d9 .
word 0x3feef1ae,
0x99157736,
0x3fef02fe,
0xd0282c8a .
word 0x3fef145b,
0x0b91ffc6,
0x3fef25c3,
0x53aa2fe2 .
word 0x3fef3737,
0xb0cdc5e5,
0x3fef48b8,
0x2b5f98e5 .
word 0x3fef5a44,
0xcbc8520f,
0x3fef6bdd,
0x9a7670b3 .
word 0x3fef7d82,
0x9fde4e50,
0x3fef8f33,
0xe47a22a2 .
word 0x3fefa0f1,
0x70ca07ba,
0x3fefb2bb,
0x4d53fe0d .
word 0x3feec491,
0x82a3f090,
0x3feed674,
0x194bb8d5 .
word 0x3feee863,
0x19e32323,
0x3feefa5e,
0x8d07f29e .
word 0x3fef0c66,
0x7b5de565,
0x3fef1e7a,
0xed8eb8bb .
word 0x3fef309b,
0xec4a2d33,
0x3fef42c9,
0x80460ad8 .
word 0x3fef5503,
0xb23e255d,
0x3fef674a,
0x8af46052 .
word 0x3fef799e,
0x1330b358,
0x3fef8bfe,
0x53c12e59 .
word 0x3fef9e6b,
0x5579fdbf,
0x3fefb0e5,
0x21356eba .
word 0x3fefc36b,
0xbfd3f37a,
0x3fefd5ff,
0x3a3c2774 .
word 0x3feee89f,
0x995ad3ad,
0x3feefb4c,
0xe622f2ff .
word 0x3fef0e07,
0x298db666,
0x3fef20ce,
0x6c9a8952 .
word 0x3fef33a2,
0xb84f15fb,
0x3fef4684,
0x15b749b1 .
word 0x3fef5972,
0x8de5593a,
0x3fef6c6e,
0x29f1c52a .
word 0x3fef7f76,
0xf2fb5e47,
0x3fef928c,
0xf22749e4 .
word 0x3fefa5b0,
0x30a1064a,
0x3fefb8e0,
0xb79a6f1f .
word 0x3fefcc1e,
0x904bc1d2,
0x3fefdf69,
0xc3f3a207 .
word 0x3feff2c2,
0x5bd71e09,
0x3ff00628,
0x6141b33d .
word 0x3fef199b,
0xdd85529c,
0x3fef2d1c,
0xd9fa652c .
word 0x3fef40ab,
0x5fffd07a,
0x3fef5447,
0x78fafb22 .
word 0x3fef67f1,
0x2e57d14b,
0x3fef7ba8,
0x8988c933 .
word 0x3fef8f6d,
0x9406e7b5,
0x3fefa340,
0x5751c4db .
word 0x3fefb720,
0xdcef9069,
0x3fefcb0f,
0x2e6d1675 .
word 0x3fefdf0b,
0x555dc3fa,
0x3feff315,
0x5b5bab74 .
word 0x3ff0072d,
0x4a07897c,
0x3ff01b53,
0x2b08c968 .
word 0x3ff02f87,
0x080d89f2,
0x3ff043c8,
0xeacaa1d6 .
word 0x3fef5818,
0xdcfba487,
0x3fef6c76,
0xe862e6d3 .
word 0x3fef80e3,
0x16c98398,
0x3fef955d,
0x71ff6075 .
word 0x3fefa9e6,
0x03db3285,
0x3fefbe7c,
0xd63a8315 .
word 0x3fefd321,
0xf301b460,
0x3fefe7d5,
0x641c0658 .
word 0x3feffc97,
0x337b9b5f,
0x3ff01167,
0x6b197d17 .
word 0x3ff02646,
0x14f5a129,
0x3ff03b33,
0x3b16ee12 .
word 0x3ff0502e,
0xe78b3ff6,
0x3ff06539,
0x24676d76 .
word 0x3ff07a51,
0xfbc74c83,
0x3ff08f79,
0x77cdb740 .
word 0x3fefa4af,
0xa2a490da,
0x3fefb9f4,
0x867cca6e .
word 0x3fefcf48,
0x2d8e67f1,
0x3fefe4aa,
0xa2188510 .
word 0x3feffa1b,
0xee615a27,
0x3ff00f9c,
0x1cb6412a .
word 0x3ff0252b,
0x376bba97,
0x3ff03ac9,
0x48dd7274 .
word 0x3ff05076,
0x5b6e4540,
0x3ff06632,
0x798844f8 .
word 0x3ff07bfd,
0xad9cbe14,
0x3ff091d8,
0x02243c89 .
word 0x3ff0a7c1,
0x819e90d8,
0x3ff0bdba,
0x3692d514 .
word 0x3ff0d3c2,
0x2b8f71f1,
0x3ff0e9d9,
0x6b2a23d9
.
word 0x7149f2ca,
0x0da24260 !
1.0e30f,
1.0e-30f .
word 0x3ecebfbe,
0x9d182250 !
KA2 =
3.66556671660783833261e-06 .
word 0x3f662e43,
0xe2528362 !
KA1 =
2.70760782821392980564e-03
!
i5 0x42aeac4f (
87.3365402f)
!
f60 KA2 =
3.66556671660783833261e-06!
f58 KA1 =
2.70760782821392980564e-03
!
! float X, Y;
!
int THRESHOLD =
0x42aeac4f;
/* 87.3365402f */!
double KA2 =
3.66556671660783833261e-06;
!
double KA1 =
2.70760782821392980564e-03;
!
!
!
sign = ((
unsigned)
Xi >>
29) &
4;
!
if (
ax >=
0x7f800000) {
/* Inf or NaN */!
if (
ax >
0x7f800000) {
/* NaN */! Y = X * X; /* NaN -> NaN */
! return Y;
! }
! Y = (
sign) ?
zero : X;
/* +Inf -> +Inf , -Inf -> zero */! return Y;
! }
!
! /* Xi >= THRESHOLDL : Y = 1.0e+30f */
! /* Xi < -THRESHOLD : Y = 1.0e-30f */
! Y = Y * Y;
! /* Xi >= THRESHOLDL : +Inf + overflow */
! /* Xi < -THRESHOLD : +0 + underflow */
! return Y;
! }
! }
! y = (double) X;
! k = (int) y;
! k &= 255;
! k <<= 3;
! Y = (float) y;
!
!
!--------------------------------------------------------------------
1:
1:
1:
1:
1:
1:
1:
1:
1: