| Date: Sat, 4 Jun 2005 17:29:29 +0100
| From: "Kieran.Tully AT acm.org" <kieran.tully at gmail.com>
|
| On 04/06/05, Brian Foster <blf at blf.utvinternet.ie> wrote:
| > apologies if this is fixed in v0.4, but in in v0.3,
| > besides the error which caused Simon's problem,
| > there is the curious belief that expr(1) does FP
| > (floating point) math, or at least FP comparisons.
|
| No there isn't.
| sed is used to manipulate gcc_version so that
| FP ordering is respected by the lexicographic
| comparison.
YES there is. in v0.3, there is a comment before
the sed(1) saying:
#manipulate version so can do floating point comparisons
ergo, there is what I said: a “curious belief”.
the comment proves that at one time, someone did
think something — presumably expr(1) — did FP.
does this matter? Yes! a casual reader of the
script could easily be mislead. comments matter.
please note I _never_ said anything was functionally
broken!
cheers!
-blf-
--
Experienced (20+ yrs) kernel/software Eng: | Brian Foster Montpellier,
• Unix, embedded, &tc; • Linux; • doc; | blf at utvinternet.ie FRANCE
• IDL, automated testing, process, &tc. | Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!