?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.  ifndef included_tables
  2.  define included_tables
  3. pown10table:
  4.  db $DE,$9F,$CE,$D2,$C8,$04,$DD,$A6
  5.  dw $0AD9  ;10^-4096
  6.  db $E4,$2D,$36,$34,$4F,$53,$AE,$CE
  7.  dw $256C  ;10^-2048
  8.  db $BE,$C0,$57,$DA,$A5,$82,$A6,$A2
  9.  dw $32B6  ;10^-1024
  10.  db $1C,$D2,$23,$DB,$32,$EE,$49,$90
  11.  dw $395B  ;10^-512
  12.  db $3A,$19,$7A,$63,$25,$43,$31,$C0
  13.  dw $3CAD  ;10^-256
  14.  db $A1,$E4,$BC,$64,$7C,$46,$D0,$DD
  15.  dw $3E56  ;10^-128
  16.  db $A5,$E9,$39,$A5,$27,$EA,$7F,$A8
  17.  dw $3F2B  ;10^-64
  18.  db $BA,$94,$39,$45,$AD,$1E,$B1,$CF
  19.  dw $3F95  ;10^-32
  20.  db $5B,$E1,$4D,$C4,$BE,$94,$95,$E6
  21.  dw $3FCA  ;10^-16
  22.  db $FD,$CE,$61,$84,$11,$77,$CC,$AB
  23.  dw $3FE5  ;10^-8
  24.  db $2C,$65,$19,$E2,$58,$17,$B7,$D1
  25.  dw $3FF2  ;10^-4
  26.  db $0A,$D7,$A3,$70,$3D,$0A,$D7,$A3
  27.  dw $3FF9  ;10^-2
  28.  db $CD,$CC,$CC,$CC,$CC,$CC,$CC,$CC
  29.  dw $3FFC  ;10^-1
  30.  
  31.  
  32. pow10table:
  33.  db $9B,$97,$20,$8A,$02,$52,$60,$C4
  34.  dw $7526  ;10^4096
  35.  db $E5,$5D,$3D,$C5,$5D,$3B,$8B,$9E
  36.  dw $5A93  ;10^2048
  37.  db $17,$0C,$75,$81,$86,$75,$76,$C9
  38.  dw $4D49  ;10^1024
  39.  db $C7,$91,$0E,$A6,$AE,$A0,$19,$E3
  40.  dw $46A4  ;10^512
  41.  db $8E,$DE,$F9,$9D,$FB,$EB,$7E,$AA
  42.  dw $4352  ;10^256
  43.  db $E0,$8C,$E9,$80,$C9,$47,$BA,$93
  44.  dw $41A9  ;10^128
  45.  db $D5,$A6,$CF,$FF,$49,$1F,$78,$C2
  46.  dw $40D4  ;10^64
  47.  db $9E,$B5,$70,$2B,$A8,$AD,$C5,$9D
  48.  dw $406A  ;10^32
  49.  db $00,$00,$00,$04,$BF,$C9,$1B,$8E
  50.  dw $4035  ;10^16
  51.  db $00,$00,$00,$00,$00,$20,$BC,$BE
  52.  dw $401A  ;10^8
  53.  db $00,$00,$00,$00,$00,$00,$40,$9C
  54.  dw $400D  ;10^4
  55.  db $00,$00,$00,$00,$00,$00,$00,$C8
  56.  dw $4006  ;10^2
  57. xconst_10:
  58.  db $00,$00,$00,$00,$00,$00,$00,$A0
  59.  dw $4003  ;10^1
  60.  endif
  61.