Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I understand that, at the time when TeX was devised, no single standard for floating-point calculations was available. But these days, there's IEEE 754. Why doesn't any TeX variant support it?

Granted, there's LuaTeX, but IEEE 754 was popular long before that, so the question is justified.

share|improve this question
1  
Backward compatibility. – dıʞsdoʇ Dec 5 '11 at 12:43
How often do you really need floating point arithmetic when you do typesetting? – Seamus Dec 5 '11 at 12:50
3  
Personally, I would already be satisfied with 64bit integer arithmetic. – Martin Scharrer Dec 5 '11 at 12:53
1  
@Seamus: All plots in my thesis are pgfplots-powered. That uses a lot floating point arithmetic. – Stefan Majewsky Dec 5 '11 at 13:19
1  
When you consider the thinness and preciseness of lines a printer is capable of, coupled to the absorptive properties of paper diffusing the ink (or blurring of toner prior to laser treatment etc.), not to mention the resolution of the human eye, you should be satisfied with pgfplots and 64bit integers at @MartinScharrer says. ;) – Mark S. Everitt Dec 5 '11 at 15:12
show 1 more comment

1 Answer

It boils down to killing the holy cow of backward compatibility, best explained by Donald Knuth himself in the video on The importance of stability for TeX.

share|improve this answer
1  
I think not only that, it is also not a trivial task (seeing the amount of work to add fp calculations to metapost) for no apparent gain. – Khaled Hosny Dec 5 '11 at 13:07
How does adding new features kill backwards compatibility? The only issue I see is name clashes. – Stefan Majewsky Dec 5 '11 at 13:18
1  
@KhaledHosny High accuracy was not needed for Metafont, because it produces bitmaps. For Metapost it's different. – egreg Dec 5 '11 at 13:29
@Stefan true, my thought was that one would replaced the other. Is creeping featurism an issue? – uli Dec 5 '11 at 13:32
@egreg: "no apparent gain" was in reference to TeX not MetaPost. – Khaled Hosny Dec 5 '11 at 15:32
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.