Updated version integrating Brian and Stuart's changes / suggestions. > Agreed, nearly there. DESCR could do with a little polish though,
Thoughts on this one?
---
pcal is a programmer's calculator. It simplifies some operations
(especially
working with multiple bases) that are difficult with general-purpose
calculator
packages. Main features:
* Full math parser, parentheses, add, sub, mult, div, exponential
* Automatic conversion between HEX DEC OCT BIN numbers
* Mixing different bases in one expression
* Definable variables
* Math constants (E PI ...)
* Built in math functions (sin/cos/sqrt ...)
---
> Re: tests. I don't think it's necessary to patch out the failing
tests
> (and that may cause problems for updates), I'd prefer to remove the
> patch and just add a comment about this.
I'm fine with this if y'all are. I was under the impression that the
way I had it was preferred.
> Upstream says "32-bit systems are supported, i just don't actively
> test
> on them anymore, so problems like this might slip in."
>
> Since it is a tiny utility in C with only bison as a BDEP, I take
> that
> to mean "might as well build it everywhere and if users report that
> it's
> broken don't be afraid to mark it ONLY_FOR_ARCHS=${LP64_ARCHS} and
> bother upstream about fixing it," which it seems to be on the table
> anyway with a move to using GMP.
That sounds like a reasonable approach to me.
~ Charles
pcalc.tgz
Description: application/compressed-tar
