[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Limbo questions



>1. about "big" datatype
>  a. is there some way to write a big constant without prefixing it with
>"big"?
>  b. is there somewhere in the manuals that mentions sys->print's %bd format?

a. yes, if its -1<<31 > i < 1<<31  then its big
b. no. I will get it fixed

>2. re real:
>  why does--
>   i : int;
>   i = int (5.0 / 2.0);
>  have the value 3?
its not C. The cvtfw instruction is implemented:

	OP(cvtfw)
	{
		REAL f;

		f = F(s);
		W(d) = f < 0 ? f - .5 : f + .5;
	}

phil