[Aldor-l] is sal_sfloat.as buggy?

David Casperson casper at unbc.ca
Sun Sep 23 23:24:10 EDT 2007


Hi folks,

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.

David
-- 
David Casperson
Computer Science



More information about the Aldor-l mailing list