Загрузка страницы

0.1 + 0.2 is NOT 0.3 in Most Programming Languages

All about floating-point errors.
Try Anvil: https://anvil.works/mcoding

Most programming languages use a shared standard (IEEE 754 floating point numbers) for how to represent floating point numbers like 0.1. In this video, we see how these floats are represented and how this can cause unexpected results like 0.1 + 0.2 != 0.3.

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosSampleCode

SUPPORT ME ⭐
---------------------------------------------------
Patreon: https://patreon.com/mCoding
Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
Other donations: https://mcoding.io/donate

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/james.mcoding

Видео 0.1 + 0.2 is NOT 0.3 in Most Programming Languages канала mCoding
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
8 мая 2021 г. 18:00:21
00:05:37
Яндекс.Метрика