<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>hexadecimal on Ciência Programada</title>
    <link>https://cienciaprogramada.com/tags/hexadecimal/</link>
    <description>Recent content in hexadecimal 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/hexadecimal/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>
    
    <item>
      <title>How the Computer Subtracts by Adding: Two&#39;s Complement and Overflow</title>
      <link>https://cienciaprogramada.com/2026/03/twos-complement-overflow/</link>
      <pubDate>Fri, 27 Mar 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/03/twos-complement-overflow/</guid>
      <description>To subtract, the processor adds the first number to the complement of the second, so a single adder does both operations. We will see two&amp;rsquo;s complement, why 8 signed bits range from -128 to +127, and how overflow took down the Ariane 5 and froze Pac-Man on level 256.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/03/twos-complement-overflow/featured_0055.jpg" />
    </item>
    
    <item>
      <title>Computer Arithmetic: Addition and Subtraction in Binary, Octal, and Hexadecimal</title>
      <link>https://cienciaprogramada.com/2026/03/arithmetic-operations-number-bases/</link>
      <pubDate>Wed, 25 Mar 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/03/arithmetic-operations-number-bases/</guid>
      <description>The addition and subtraction rules of base 10 hold in any base: only the value that triggers the carry changes. We do arithmetic in binary, octal, and hexadecimal, see why with three addends the carry can be worth 2, and implement both algorithms in Python.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/03/arithmetic-operations-number-bases/featured_0054.jpg" />
    </item>
    
    <item>
      <title>Number Bases and Integer Conversion: The Complete Guide</title>
      <link>https://cienciaprogramada.com/2026/03/integer-bases-conversions/</link>
      <pubDate>Mon, 23 Mar 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/03/integer-bases-conversions/</guid>
      <description>In any base, the value of the base itself is written 10. We start from positional notation to convert integers between decimal, binary, octal, and hexadecimal, using expansion, successive divisions, bit grouping, and Python&amp;rsquo;s bin, oct, hex, and int functions.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/03/integer-bases-conversions/featured_0052.jpg" />
    </item>
    
  </channel>
</rss>
