On Wed, 2007-09-26 at 10:41 -0700, Erick Tryzelaar wrote:
> On 9/26/07, skaller <[EMAIL PROTECTED]> wrote:
> > Ouch... I got bitten: C function:
> >
> > double eval_A(int i, int j) { return 1.0/((i+j)*(i+j+1)/2+i+1); }
> >
> > Felix function:
> >
> > fun eval_A(int i, int j)=>1.0/double((i+j)*(i+j+1)/2+i+1);
> >
> > Calculate DIFFERENT values .. can you spot the difference?
>
> I'll bite :) I don't see it. What is it?
http://felix.sourceforge.net/doc/gramdoc/arithmetic.html
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language