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