A numeric data file contains a list of integer or real numbers that can be accessed as a one dimensional array. Multiple numbers can be listed on each line. Comment and blank lines may also be included. You can optionally include a check sum to ensure the integrity of the data.
Here is an example data file containing integer values:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : : Multipliers used for Shank's factorization method. :............................................................................... 3 5 7 11 15 :3*5 21 :3*7 33 :3*11 35 :5*7 55 :5*11 77 :7*11 105 :3*5*7 165 :3*5*11 231 :3*7*11 385 :5*7*11 1155 :3*5*7*11 : : Check #e96c_a757 :...............................................................................
In this example of a real number data file, hexadecimal format is used so that their binary representation is precise.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : : Reciprocals of primes from 3 to 127. A fudge factor of .0000000000000005 is : added so that when multiplying them any rounding error is always positive. :............................................................................... #1.5555555555558p-2 #1.999999999999ep-3 #1.2492492492495p-3 #1.745d1745d1749p-4 #1.3b13b13b13b17p-4 #1.e1e1e1e1e1e22p-5 #1.af286bca1af2cp-5 #1.642c8590b2167p-5 #1.1a7b9611a7b98p-5 #1.0842108421086p-5 #1.bacf914c1bad4p-6 #1.8f9c18f9c18fep-6 #1.7d05f417d05f7p-6 #1.5c9882b93105ap-6 #1.3521cfb2b78c4p-6 #1.15b1e5f75270fp-6 #1.0c9714fbcda3dp-6 #1.e9131abf0b76bp-7 #1.cd85689039b0fp-7 #1.c0e070381c0e4p-7 #1.9ec8e951033ddp-7 #1.8acb90f6bf3adp-7 #1.702e05c0b8173p-7 #1.51d07eae2f818p-7 #1.446f86562d9fep-7 #1.3e22cbce4a905p-7 #1.323e34a2b10c2p-7 #1.2c9fb4d812ca3p-7 #1.21fb78121fb7bp-7 #1.020408102040ap-7 : : Check #f474_0797 :...............................................................................