I am currently learning about compiler construction and language design and I am thinking about what native datatypes I want to support in my language. Now there is a whole lot of languages that make a distinction between integer- and real numbers. However, I remember watching a talk by Douglas Crockford in which he said:
Having a single number type in the system means that you can not make a bug by choosing the wrong number type
He also mentioned that he recommends a number representation different to the commonly used IEEE-754 (please correct me if I am wrong), namingly being the DEC64. Hence my question: For a general-purpose language which has a primarily educational focus, what number representation should I use?
EDIT: With educational focus I am talking about my own progress in learning about compilers, not to educate others.