Bug#456034: fenix: compile with -O1

Javier Serrano Polo jasp00 at terra.es
Tue Dec 18 13:30:59 UTC 2007

retitle 456034 fenix: fix TYPE_FLOAT functions

El dj 13 de 12 del 2007 a les 19:17 +0100, en/na Miriam Ruiz va
> I guess the solution would not be to remove the optimization level, but to fix
> the bugs that might be causing that problem.

So you like the hard way. Good.

> Which functions are not working
> with -O2 and on which architectures?

The ones performing bad type conversions. I'm attaching a simple test
case for cos(). Output should be:


I'm attaching the solution too. I'll leave to you the remaining
functions and the code arrangement.
-------------- next part --------------
program cos_test;
	say(format(cos(0), 6));
	say(format(cos(45000), 6));
	say(format(cos(90000), 6));
	say(format(cos(135000), 6));
	say(format(cos(180000), 6));

-------------- next part --------------
A non-text attachment was scrubbed...
Name: i_func.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20071218/747f5702/attachment.bin 

More information about the Pkg-games-devel mailing list