Perché queste considerazioni? Semplice, tra poco arriverà al telegiornale il fatto che Excel 2007… sbaglia i conti. Provate a scrivere in una cella =77,1 * 850 e vedrete che il risultato visualizzato è 100000. Fate la stessa operazione con una calcolatrice e vedrete che il numero è 65535 (in realtà un numero molto vicino…).
[From I bug come evento statistico - Marco Russo]
Mah! Non mi sento nessuno per giudicare quello che dice Marco Russo, ma un BUG è un BUG che sia ammissibile statisticamente o meno. Soprattutto, è un bug "chiacchierato" quando va ad intaccare la funzione base dell'applicativo cioè TRATTARE NUMERI, molto semplicisticamente parlando!
Before I try to explain this, I should disclose that I did work on the Excel team, but that was thirteen years ago. I haven’t been there for a long time. I don’t even think I know anyone on that team any more. I’m just trying to explain the bug a little bit as a public service.
The first thing you have to understand is that Excel keeps numbers, internally, in a binary format, but displays them as strings. For example, when you type 77.1, Excel stores this internally using 64 bits:
0100 0000 0101 0011 0100 0110 0110 0110
0110 0110 0110 0110 0110 0110 0110 0110
The display is showing you four characters: “7”, “7”, “.”, and “1”.
Somewhere inside Excel is a function that converts binary numbers to strings for displaying. This is the code that has the bug that causes a few numbers which are extremely close to 65,535 to be formatted incorrectly as 100,000.
If you use the number further along in calculations, for example, if you add 2 to the results, you’ll get the right thing.
=77.1*850 -> displays 100000
=77.1*850+2 -> displays 65537, correctly.
Leggevo e sorridevo da solo come un imbecille, è come dire: "Ho una macchina per il caffè che utilizza le cialde. Con le cialde per il caffè riesco ad avere solo dell'acqua calda, ma se utilizzo le cialde per il Tea ho dell'ottimo caffè che sà un pò di Earl Grey ma non importa ..."
[From Explaining the Excel Bug - Joel on Software]
Boh! Essere faziosi è un male, un pò lo sono anche io per carità ... però...!
No comment!
RispondiEliminaPS:Ca....o io ho calcolato la media universitaria con il 2007!
Zitto zitto non lo dire a nessuno tanto ora che se ne accorgono sei alla pensione :D :D :D
RispondiElimina