[texhax] why not floating-point?

Pavel Minev Penev pavpen at berkeley.edu
Thu Sep 16 21:21:26 CEST 2004


В деня четвъртък, 16. от септември, 2004 в 13:26:30 GMT -0400, Barbara Beeton мислил:
>     What about adding floating-point arithmetic support to TeX?
> 
> perhaps it could be considered for an extension to a
> tex successor.  but it will never be added to tex
> itself.  when tex was implemented on multiple platforms,
> it was demonstrated that the floating-point arithmentic
> was seriously not the same on all platforms, hence the
> decision to use only a very fine-grained fixed-point
> mechanism.  perhaps the situation has changed now, and
> floating point is (more) uniform.  but that would need
> to be demonstrated, to ensure platform independence.
> 
>     Motivation:  I understand that the main obstacle to implementing truly
>     powerful graphic routines directly via TeX is that TeX cannot handle
>     floating-point arithmetics.  While various external tricks are
>     wonderful, they seem a bit unstable (eg the beauty of PostScripting via
>     packages like eepic, that suddenly becomes unavailable when switching
>     to pdfTeX).
> 
> a worthy goal, but it doesn't outweigh the original
> motivation, which strongly affects the positioning of
> letters in a line of type or symbols in a built-up
> equation.
> 
> in any event, tex itself is frozen, so this is a
> topic for a successor.

See the fp package for fixed-point,
-- 
Pav  http://www.larouchepub.com/eirtoc/2004/eirtoc_3125.html
  ,., http://en.wikipedia.org/w/wiki.phtml?title=Frankfurt_School&oldid=4862683
,``:'', http://www.bilderberg.org/ccf.htm
{o ! o} http://en.wikipedia.org/wiki/Fabian_Society
] -+- [ http://bss.sfsu.edu/fischer/IR%20360/Readings/Readings.htm
 \ ! /  http://www.againsttcpa.com/   http://swpat.ffii.org/   My type: Dvorak.
  `-'http://en.wikipedia.org/wiki/List_of_U.S._foreign_interventions_since_1945
`shell$ gpg --keyserver x-hkp://search.keyserver.net:11371 --recv-key 164C028F`



More information about the texhax mailing list