MENU

Fun & Interesting

Fast Conversion From Cpp Floating Point Numbers - Cassio Neri - C++Now 2024

CppNow 3,673 9 months ago
Video Not Working? Fix It Now

https://www.cppnow.org --- Fast Conversion From Cpp Floating Point Numbers - Cassio Neri - C++Now 2024 --- Standard C++ provides a few functions to convert a double or float value to string, namely, sprintf, stringstream::operator<<, snprintf, to_string, to_chars and format. This talk concerns what goes on behind the scenes, i.e, the algorithms which these functions might use to do their job. Curiously, many of these algorithms have dragon-related names like Dragon, Grisu, Errol, Ryu and Dragonbox. Here mythology meets technology and we shall introduce the new dragon that has just arrived in the den. (Please leave your bows and arrows at home, they won't be necessary here.) --- The following topics are some of those covered in this presentation:- algorithms, mathematics, arithmetic, floating point, floating point numbers, floating point math, floating point arithmetic, decimal floating-point representation, binary floating-point representation, IEEE 754, programming languages, c++, cpp --- Slides: https://github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/a-new-dragon-in-the-den.pdf --- Cassio Neri Cassio Neri holds a PhD in Applied Mathematics from University of Paris Dauphine. He has been professionally coding in C++ for more than 17 years but his coding experience has started when he was 11. He currently works on the financial industry in London but has previously worked as a lecture of Mathematics for more than a decade. Cassio has authored a few research articles and has published them on peer-reviewed journals on Mathematics (there's an equation named after him), Finance, Computer Science and C++. --- C++Now 2025 - 28th April - 2nd May C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world. Annual CppNow Conference - https://www.cppnow.org https://www.linkedin.com/company/cppnow https://twitter.com/cppnow https://www.facebook.com/CppNow https://www.reddit.com/r/CppNow https://mastodon.social/@cppnow Video Sponsors: millennium and think-cell --- Videos Filmed & Edited By Bash Films: https://bashfilms.com/ YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk --- #boost #cpp #cppprogramming #algorithm #arithmetic

Comment