<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>float on Ciência Programada</title>
    <link>https://cienciaprogramada.com/tags/float/</link>
    <description>Recent content in float on Ciência Programada</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</managingEditor>
    <webMaster>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</webMaster>
    <copyright>© 2026 Francisco Bustamante</copyright>
    <lastBuildDate>Wed, 01 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cienciaprogramada.com/tags/float/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Real Numbers and Floating Point: Base Conversion and Precision</title>
      <link>https://cienciaprogramada.com/2026/04/real-numbers-base-conversion/</link>
      <pubDate>Wed, 01 Apr 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/04/real-numbers-base-conversion/</guid>
      <description>Why doesn&amp;rsquo;t 0.1 plus 0.2 give 0.3? Because 0.1 is a repeating fraction in binary. We convert fractions between bases by successive multiplications, look at the bits of a float with struct, and see two practical ways out: integers for money and math.isclose for comparisons.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/04/real-numbers-base-conversion/featured_0053.jpg" />
    </item>
    
  </channel>
</rss>
