[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: tjr@@freebsd.org, imp@freebsd.org, ru@freebsd.org
From:       Dag-Erling Smorgrav <des () ofug ! org>
Date:       2003-04-24 3:02:17
[Download RAW message or body]

Alex Semenyaka <alexs@ratmir.ru> writes:
> Brief description what was done: I've chanched the arithmitics in the /bin/sh
> from 32 bits to 64 bits. There are some doubts that it conforms to the
> standards: it does, I have send a quotations to -standards, there were no
> objections. Couple of people advuces me to use intmax_t and %jd - I've rewritten
> the patch, now there is those species instead of long long and %qd. The last
> question was performance, I will show the results of measurements below.

Performance is irrelevant.  Anyone who is doing so much arithmetic in
the shell that performance is an issue should take a long hard look at
dc(1).  The only issues here are 1) correctness 2) portability (long
long / %qd is not portable) and 3) standards compliance.  You can
safely ignore anyone trying to tell you otherwise.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic