3 + 4 * 2 / ( 1 - 5 ) ^ 2 ^ 3
This is the equation which I tried to solve using three different ways
This is the exact question from https://en.wikipedia.org/wiki/Shunting-yard_algorithm
I pasted the exact equation to different sites
What I get from google is =
3.00012207031 which was obtained by searching evaluate 3 + 4 * 2 / ( 1 - 5 ) ^ 2 ^ 3
From JavaScript Console answer was 0 (I just put the exact equation in JavaScript console no modification)
From shunting Yard algorithm,
answer = 0.0001678466796875 or (11 / 65536) (written in javascript, and I tried it in online calculator too https://www.free-online-calculator-use.com/postfix-evaluator.html#)
What's the reason behind this ?