27 ms·
I remember years ago when I didn't know that much about software engineering, discovering and playing with MPFR was like magic. "I have super-science power in m
by karamanolev 4y ago
I remember years ago when I didn't know that much about software engineering, discovering and playing with MPFR was like magic. "I have super-science power in my hands, how many bits of precision can I fit in my RAM". It was a fun time. Can I do big integer? Bigger integer? HUGER integers!
- floor_ 4y agoAdvent Of Code seems to always have a Big Integer question to trip up beginner programmers. Its a great way to learn. Also coding a simple emulator, like for the chip-8 for example, and learning what a carry flag does would help with basic understanding of the problem.
- karamanolev 4y agoI've coded more than one mini-big int libraries for some high school CS comps back in the day. Also fun times. Simple arithmetic is easy and we never got really complicated operations for big ints. These days I'm super lazy and just Python the big int problems on things like Advent of Code. Much more boring. And because of floating point issues, I haven't seen them give something in the real domain, as compared to whole numbers.