It is widely believed that π is a “normal number,” which would mean that you can find any integer sequence…
Continue Readingdecimal
Computing pi with bc
I wanted to stress test the bc calculator a little and so I calculated π to 10,000 digits a couple…
Continue ReadingPushing static type checking in Python one step further
As you can see, the errors have been caught before the code went into production, even though our tests — as shown…
Continue ReadingAccurate decimal numbers in PHP
Accurate decimal numbers in PHPRudi TheunissenBlockedUnblockFollowFollowingNov 15, 2018Most web applications deal with decimal numbers at some stage — currency, coordinates, measurements, scientific arithmetic — but…
Continue Reading