[Aldor-l] is sal_sfloat.as buggy?
Ralf Hemmecke
ralf at hemmecke.de
Mon Sep 24 04:48:23 EDT 2007
Hi David,
Looks like a bug to me. But it should rather read...
(a:%) ^ (b:%):% == {
import { powf: (%, %) -> % } from Foreign C;
per powf(rep a, rep b);
}
Would someone disagree?
Ralf
On 09/24/2007 05:24 AM, David Casperson wrote:
> sal_sfloat.as in lib/aldor/src/arith/ contains the lines
>
> ----------------------------------------------------------------------
> Rep == SFlo;
>
> -- ...
>
> (a:%) ^ (b:%):% == {
> import { powf: (%, %) -> % } from Foreign C;
> powf(a, b);
> }
> ----------------------------------------------------------------------
>
> am I hallucinating or shouldn't this be?
>
> ----------------------------------------------------------------------
> Rep == SFlo;
>
> -- ...
>
> (a:%) ^ (b:%):% == {
> import { powf: (Rep, Rep) -> Rep } from Foreign C;
> per powf(rep a, rep b);
> }
> ----------------------------------------------------------------------
>
> The current version gives warning messages about type mismatches.
More information about the Aldor-l
mailing list