From: Francisco G. M. <fra...@uv...> - 2012-03-09 15:11:10
|
Hi all, I think I have found a bug when doing two consecutive subtractions. Here I attach a simple project in which the following operations are made: X = 1 - 1 - 1 Y = (1 - 1) - 1 Curiously, only Y is evaluated as -1, while X is equal to 1. Best, Fran -- ------------------------------------------- Dr. Francisco Grimaldo Moreno (PhD) (Id. GnuPG: 0xBAEC75A7) Departament d'Informàtica Escola Tècnica Superior d'Enginyeria (ETSE) Universitat de València Avinguda de la Universitat, s/n 46100 Burjassot-València (SPAIN) Tel: +34 96 354 44 87 (+34 96 354 45 65) Fax: +34 96 354 47 68 Email: fra...@uv... Web: http://www.uv.es/grimo ------------------------------------------- |