←back to thread

3 points shraddhaag | 1 comments | | HN request time: 0.251s | source
1. shraddhaag ◴[] No.42314304[source]
Wrote a blog about this year's advent of code day 1. While solving the problem I was once again struck with the missing function for calculating absolute value for integers and decided to dig a lil deeper. You'll also find a small recap of how the abs() function for floats evolved over time in the standard library.

Please do give it a read and let me know your thoughts!