3 ms·
Interesting, I started playing with spotlight and typing in (-20)^21 returns " = 0", which is obviously not correct. And typing in "(-22)^21" gives "-711008889
by 0x0 2y ago
Interesting, I started playing with spotlight and typing in (-20)^21 returns " = 0", which is obviously not correct.
And typing in "(-22)^21" gives "-71100888972574851072", but wolfram alpha insists it should be "-15519448971100888972574851072".
Looks like there are still bugs here.
- Aloisius 2y agoSpotlight on Sequoia looks correct, though it limits precision more than wolfram alpha. (-20)^21 = -2.097152x10^27 and (-22)^21 = -1.5519448971*10^28
- crazygringo 2y agoWow that's bizarre. At first I thought it was just an overflow error but no it's nothing like that. The math is indeed very clearly broken, as I play around with it on Sonoma on my M1. I'm genuinely shocked. I though this kind of floating-point math was rock-solid, tested thoroughly over the decades.
- rubatuga 2y agoNo bug in Big Sur spotlight: "(-20)^21" = -2.097152e27 "(-22)^21" = -1.551944897e28
- dchest 2y agoHah, macOS Sonoma 14.6.1 on M1 = 0 iOS 17.6.1 = -0 WTF.
- wojtczyk 2y agoYes, it looks like spotlight math is broken on both.