unicodenumtable.pas 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. { Unicode implementation tables.
  2. Copyright (c) 2013 - 2017 by Inoussa OUEDRAOGO
  3. Permission is hereby granted, free of charge, to any person
  4. obtaining a copy of the Unicode data files and any associated
  5. documentation (the "Data Files") or Unicode software and any
  6. associated documentation (the "Software") to deal in the Data
  7. Files or Software without restriction, including without
  8. limitation the rights to use, copy, modify, merge, publish,
  9. distribute, and/or sell copies of the Data Files or Software,
  10. and to permit persons to whom the Data Files or Software are
  11. furnished to do so, provided that (a) the above copyright
  12. notice(s) and this permission notice appear with all copies
  13. of the Data Files or Software, (b) both the above copyright
  14. notice(s) and this permission notice appear in associated
  15. documentation, and (c) there is clear notice in each modified
  16. Data File or in the Software as well as in the documentation
  17. associated with the Data File(s) or Software that the data or
  18. software has been modified.
  19. This program is distributed in the hope that it will be useful,
  20. but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. }
  22. unit unicodenumtable;
  23. interface
  24. const
  25. UC_NUMERIC_COUNT = 135;
  26. UC_NUMERIC_ARRAY : array[0..(UC_NUMERIC_COUNT-1)] of Double = (
  27. 0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,
  28. 9 ,0.25 ,0.5 ,0.75 ,0.0625 ,0.125 ,0.1875 ,16 ,
  29. 10 ,100 ,1000 ,0.00625 ,0.025 ,0.0375 ,0.05 ,0.1 ,
  30. 0.15 ,0.2 ,1.5 ,2.5 ,3.5 ,4.5 ,5.5 ,6.5 ,
  31. 7.5 ,8.5 ,-0.5 ,20 ,30 ,40 ,50 ,60 ,
  32. 70 ,80 ,90 ,10000 ,17 ,18 ,19 ,0.142857142857143 ,
  33. 0.111111111111111 ,0.333333333333333 ,0.666666666666667 ,0.4 ,0.6 ,0.8 ,0.166666666666667 ,0.833333333333333 ,
  34. 0.375 ,0.625 ,0.875 ,11 ,12 ,500 ,5000 ,50000 ,
  35. 100000 ,13 ,14 ,15 ,21 ,22 ,23 ,24 ,
  36. 25 ,26 ,27 ,28 ,29 ,31 ,32 ,33 ,
  37. 34 ,35 ,36 ,37 ,38 ,39 ,41 ,42 ,
  38. 43 ,44 ,45 ,46 ,47 ,48 ,49 ,200 ,
  39. 300 ,400 ,600 ,700 ,800 ,900 ,2000 ,3000 ,
  40. 4000 ,6000 ,7000 ,8000 ,9000 ,20000 ,30000 ,40000 ,
  41. 60000 ,70000 ,80000 ,90000 ,0.916666666666667 ,200000 ,300000 ,400000 ,
  42. 500000 ,600000 ,700000 ,800000 ,900000 ,0.0833333333333333 ,0.416666666666667 ,0.583333333333333 ,
  43. 216000 ,432000 ,1000000 ,100000000 ,10000000000 ,1000000000000
  44. );
  45. implementation
  46. end.