Why doesn't this evaluate in Excel?
=(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Returns 1.09785E+36
=(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Returns 1.09785E+36
You should not use Excel to do any serious mathematics, or really anything else where numerical precision is important.
(-80538738812075974n)**3n + 80435758145817515n**3n + 12602123297335631n**3nBtw:
julia> (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
42
CL-USER> (+ (expt -80538738812075974 3) (expt 80435758145817515 3) (expt 12602123297335631 3))
42https://www.bing.com/search?q=%3D%28-80538738812075974%29%5E...
198929873392615583518074640613244928
I take that back,
needs the `M` flagawk -M 'END{print (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3}' /dev/null
42
but `bc` of course works
echo '(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3' | bc
42