Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Floating-Point to String Conversion in C++: Exploring Algorithms and Performance

cpponsea via YouTube

Overview

Explore the intricacies of floating-point to string conversion in C++ through this comprehensive 57-minute conference talk by Cassio Neri at C++ on Sea 2024. Delve into the algorithms behind standard C++ functions like sprintf, stringstream::operator«, snprintf, to_string, to_chars, and format. Discover the fascinating world of dragon-related algorithms such as Dragon, Grisu, Errol, Ryu, and Dragonbox, where mythology meets technology. Learn about binary floating-point number decoding, IEEE 754 standards, and the nuances of floating-point arithmetic. Gain insights into the performance aspects of these conversion methods and understand their applications in C++ and other programming languages. This talk, sponsored by Bloomberg and think-cell, offers a deep dive into the mathematics and computer science behind floating-point conversions, suitable for C++ developers and enthusiasts interested in advanced numerical computing techniques.

Syllabus

Floating-Point to String Conversion in C++: Exploring Algorithms & Performance - Cassio Neri - 2024

Taught by

cpponsea

Reviews

Start your review of Floating-Point to String Conversion in C++: Exploring Algorithms and Performance

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.