Friday, September 28, 2007

Enseñandole a multiplicar a Excel

Haciendo mi recorrido habitual por el blog del profesor James Hamilton me encuentro con una novedosa novedad matematica.

Cuanto es 850*77.1?

Si, la resupuesta que aprendimos en el secundario es que deberia ser 65,535. Pues bien, segun Microsoft Excel 2007 la respuesta correcta es 100,000. Como??? Dificil de saber el razonamiento detras de esto. Pero segun J. Hamilton:
"We won't know just why the problem comes up until Microsoft speaks out, but there is one thing about 65535-- it's the very largest 16-bit number. In binary it's a string of 16 ones. In hexadecimal (the programmer's friend) it's FFFF. But converting the "problem" results to hexadecimal in Excel yields FFFE. That's surely a clue. Meanwhile, if you have any spreadsheets where some results hit the range around 65535, it might be a good idea to double-check with your trusty calculator... or a pencil."
Aca esta la nota completa original de James Hamilton.

OBS: Microsoft ha reconocido el problema y asegura que Excel aprendera a multiplicar.

No comments: