News for hackers. Stuff that matters.
Re:Ask HN: What would Excel's formula language look like if ... by nailer on Monday December 02, 2013 @09:39AM (#6833858)

    pow(A2,2)
seems reasonable.

Please:

    pow = Math.pow.bind(Math) 
at least, as typing Math in a spreadsheet is going to get boring.

Not sure if JS is the best choice for a spreadsheet, though, JS has surprising (compared to Python or Ruby) IEEE 754 arithmetic. I don't know that much about the topic so perhaps someone else could elucidate.

There are no comments on this comment yet.