Burning more bridges (mostly numeric ones)
Henning Thielemann
schlepptop at henning-thielemann.de
Mon Mar 24 10:06:23 UTC 2014
Am 24.03.2014 10:58, schrieb Andreas Abel:
> On 23.03.2014 19:25, Henning Thielemann wrote:
>> I found the infix operator names (^^) and (**) not very intuitive and
>> defined (^-) and (^/) in NumericPrelude, in order to show, that the
>> first one allows negative exponents and the second one allows fractional
>> exponents. Unfortunately the first one looks like power function with
>> negated exponent and I had no better idea for an identifier so far.
>
> Ah, so x ^- 2 (or is it x ^- 2.0) is not the square root of x? Maybe
> you should change this identifier indeed!
If at all, it could be misinterpreted as 1/x^2.
Square root would be x^/0.5.
> Maybe use ^+- instead.
Nice idea! Analogously I could define (^*/).
More information about the Libraries
mailing list