(Not-so) Precise Float Arithmetic in Python [PyOhio 2023]

Publicado em: 17 Dezembro 2023
no canal de: PyOhio
69
3

Talk by Syed Muhammad Dawoud Sheraz Ali at PyOhio 2023:
Just like in other programming languages, floating number arithmetics is not very precise in Python. What makes floats so special and weird that a simple arithmetic operation might not yield the expected result? Why is it so? For instance, what happens when you run the following line on the Python terminal: 0.1+0.1+0.1==0.3? What will be the output? True or False?

This small talk will focus on the underlying behavior of floating arithmetics precision and then discuss a few potential solutions to the problem in Python.

PyOhio talk listing: https://www.pyohio.org/2023/talks/not...


Nesta página do site você pode assistir ao vídeo on-line (Not-so) Precise Float Arithmetic in Python [PyOhio 2023] duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário PyOhio 17 Dezembro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 69 vezes e gostou 3 espectadores. Boa visualização!