[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: math expressions (was: Re: Tail call elimination)
From: |
Pete Dietl |
Subject: |
Re: math expressions (was: Re: Tail call elimination) |
Date: |
Wed, 20 May 2020 11:21:04 -0500 |
> If anyone can provide any use case where >64bit math is needed in a
> makefile I'll be interested to hear about it.
Yeah fair enough :)
Then we can always build in support since the size addition to the
Make binary will be trivially changed.
> > * negate
> > * absolute value
> > * exponentiate
>
> Maybe.
My argument for these is that they are pretty easy to implement.
> > Bit Manipulation:
> > ----------------------
> > * and
> > * or
> > * xor
> > * complement
> > * left shift
> > * right shift
>
> Maybe. I have a hard time coming up with uses for these, other than
> possibly the shift operators (but multiplication/division can be used
> instead).
Yeah I was thinking the use case could be a little obscure,
but maybe for some sort of version parsing where bits
are strangely encoded.
But again I'd say that it's pretty easy to implement.
> Again, the questions in my email yesterday need to be addressed.
I totally missed that email somehow. I'll address it in another email.
> Mult-base support: should we support only base 10 integer constants in
> expressions, or also hex/octal constants?
I vote for decimal, hex, and binary.
Octal if you really want it.
- math expressions (was: Re: Tail call elimination), (continued)
- math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/23
- Re: math expressions (was: Re: Tail call elimination), Pete Dietl, 2020/05/23
- Re: math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/24
- Re: math expressions (was: Re: Tail call elimination), Pete Dietl, 2020/05/24
- Re: math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/24
- Re: Tail call elimination, Edward Welbourne, 2020/05/25
- Re: Tail call elimination, Tim Murphy, 2020/05/20
- Re: Tail call elimination, Paul Smith, 2020/05/20
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/20
- Re: math expressions (was: Re: Tail call elimination),
Pete Dietl <=
- Re: math expressions (was: Re: Tail call elimination), Edward Welbourne, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Sam Kendall, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Edward Welbourne, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Pete Dietl, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Tim Murphy, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Pete Dietl, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Pete Dietl, 2020/05/25
- Re: math expressions (was: Re: Tail call elimination), Paul Smith, 2020/05/25