Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
4.1 KiB

  1. ;
  2. ;
  3. ; Copyright (C) Microsoft Corporation, 1986-88
  4. ;
  5. ; This Module contains Proprietary Information of Microsoft
  6. ; Corporation and should be treated as Confidential.
  7. ;
  8. subttl emconst.asm - Constants
  9. page
  10. ;*********************************************************************;
  11. ; ;
  12. ; Constants ;
  13. ; ;
  14. ;*********************************************************************;
  15. ; internally used constants
  16. EVEN
  17. labelW IEEEzero
  18. dw 0,0,0,0 ; Mantissa of 0
  19. dw IexpMin - IexpBias ; Smallest Exponent
  20. db 0 ; Sign positive, not single precision
  21. db ZROorINF ; Number is ZERO
  22. labelW IEEEinfinity
  23. dw 0,0,0,0 ; Mantissa of 0
  24. dw IexpMax - IexpBias ; Largest exponent
  25. db 0 ; Sign positive, not single precision
  26. db Special + ZROorINF
  27. labelW IEEEindefinite
  28. dw 0,0,0,0C000H ; MSB Turned on in mantissa
  29. dw IexpMax - IexpBias ; Largest exponent
  30. db 080H ; Sign negative, not single precision
  31. db Special
  32. labelW IEEEbiggest
  33. dw 0FFFFH,0FFFFH,0FFFFH,0FFFFH ; Turn on Mantissa
  34. dw IexpMax - IexpBias - 1 ; Largest valid exponent
  35. db 0 ; Sign positive, not single precision
  36. db 0 ; Valid non-zero, non-special number
  37. labelW IEEEinfinityS
  38. dw 0, 7f80h ; Sign 0, Exp 1's, Mantissa 0
  39. labelW IEEEbiggestS
  40. dw 0ffffh, 7f7fh ; Sign 0, Exp Max - 1, Mantissa 1's
  41. labelW IEEEinfinityD
  42. dw 0, 0, 0 ; Mantissa of 0
  43. dw 7ff0h ; Largest exponent
  44. labelW IEEEbiggestD
  45. dw 0ffffh, 0ffffh, 0ffffh ; Turn on Mantissa
  46. dw 7fefh ; Largest exponent - 1
  47. ; transcendental constants
  48. labelW cFLDZ
  49. dw 00000h, 00000h, 00000h, 08000h, IexpMin-IexpBias, 00100h
  50. labelW cFLD1
  51. dw 00000h, 00000h, 00000h, 08000h, 00000h, 00000h
  52. ifndef frontend
  53. ifndef SMALL_EMULATOR
  54. labelW TWOMRT3
  55. dw 0B18AH,0F66AH,0A2F4H,08930H,0FFFEH,00000H
  56. labelW RT3
  57. dw 0539EH,0C265H,0D742H,0DDB3H,00000H,00000H
  58. labelW PIBY6
  59. dw 02C23H,06B9BH,091C1H,0860AH,0FFFFH,00000H
  60. labelW RT2
  61. dw 06484H,0F9DEH,0F333H,0B504H,00000H,00000H
  62. labelW TWO
  63. dw 00000H,00000H,00000H,08000H,00001H,00000H
  64. labelW cFLDPI
  65. dw 0C235H,02168H,0DAA2H,0C90FH,00001H,00000H
  66. labelW cFLDL2T
  67. dw 08AFEH,0CD1BH,0784BH,0D49AH,00001H,00000H
  68. labelW cFLDL2E
  69. dw 0F0BCH,05C17H,03B29H,0B8AAH,00000H,00000H
  70. labelW cFLDLG2
  71. dw 0F799H,0FBCFH,09A84H,09A20H,0FFFEH,00000H
  72. labelW cFLDLN2
  73. dw 079ACH,0D1CFH,017F7H,0B172H,0FFFFH,00000H
  74. labelW TANRAT
  75. dw 3
  76. dw 07BD4H,0D85AH,05C3EH,08F69H,00005H,00080H
  77. dw 04D37H,02CD7H,0D0F8H,0D6D4H,0000CH,00000H
  78. dw 0DCD3H,06617H,0BBEEH,082BAH,00012H,00080H
  79. dw 091CBH,05E58H,0868BH,0F506H,00014H,00000H
  80. dw 3
  81. dw 086E5H,00120H,00502H,09C79H,00009H,00080H
  82. dw 06663H,088CFH,0B270H,0C939H,0000FH,00000H
  83. dw 0FA96H,0C746H,00CFEH,0E4B7H,00013H,00080H
  84. dw 091CBH,05E58H,0868BH,0F506H,00014H,00000H
  85. labelW ATNRAT
  86. dw 4
  87. dw 05B32H,0CF08H,0A4C9H,0A650H,0FFFDH,00000H
  88. dw 0D1CEH,0D5CAH,0A84BH,0D0F0H,00002H,00000H
  89. dw 0899FH,0E22BH,052A8H,09C4AH,00005H,00000H
  90. dw 04265H,05550H,0E9CFH,090EFH,00006H,00000H
  91. dw 04B90H,024ADH,0E5E6H,0A443H,00005H,00000H
  92. dw 3
  93. dw 08310H,05638H,04F0AH,0F062H,00003H,00000H
  94. dw 0B4E7H,06D1EH,05190H,0EE50H,00005H,00000H
  95. dw 0243BH,05B6DH,09020H,0AC50H,00006H,00000H
  96. dw 04B90H,024ADH,0E5E6H,0A443H,00005H,00000H
  97. labelW EXPRAT
  98. dw 2
  99. dw 01898H,0F405H,006FCH,0F274H,00005H,00000H
  100. dw 0AD08H,014E1H,03D54H,0EC9BH,0000EH,00000H
  101. dw 05FAFH,0C3A3H,0D84AH,0FDF0H,00014H,00000H
  102. dw 2
  103. dw 0776FH,0387BH,0108BH,0DAA7H,0000AH,00000H
  104. dw 0E85DH,09B7BH,0B182H,0A003H,00012H,00000H
  105. dw 0837EH,0E709H,0F814H,0B72DH,00016H,00000H
  106. labelW LOGRAT
  107. dw 3
  108. dw 07704H,0C299H,057E2H,09B71H,0FFFEH,00000H
  109. dw 04F9CH,0F631H,05E35H,0DE91H,00004H,00080H
  110. dw 04B8AH,07AEAH,0C9EDH,0B2D3H,00008H,00000H
  111. dw 028C9H,01D09H,0E42FH,08AC4H,0000AH,00080H
  112. dw 2
  113. dw 076BBH,03E70H,0025BH,08EACH,00005H,00080H
  114. dw 0EF60H,0A933H,01FD0H,09C04H,00008H,00000H
  115. dw 0BB96H,06C83H,0F4E0H,0C05FH,00009H,00080H
  116. endif ;not SMALL_EMULATOR
  117. endif ;frontend