<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Numerical Computing on Nalar</title>
    <link>https://nalar.dev/tags/numerical-computing/</link>
    <description>Recent content in Numerical Computing on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 03 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/numerical-computing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Use Decimal for Predictable Base-10 Arithmetic in Python</title>
      <link>https://nalar.dev/use-decimal-for-predictable-base-10-arithmetic-in-python/</link>
      <pubDate>Thu, 03 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/use-decimal-for-predictable-base-10-arithmetic-in-python/</guid>
      <description>&lt;p&gt;Many Python programs can use &lt;code&gt;float&lt;/code&gt; without trouble. Measurements, graphics, statistics, and scientific calculations often benefit from fast binary floating-point arithmetic.&lt;/p&gt;&#xA;&lt;p&gt;Problems appear when the data itself is defined in decimal terms and exact decimal values matter. A price such as &lt;code&gt;19.99&lt;/code&gt;, a tax rate such as &lt;code&gt;7.5%&lt;/code&gt;, or a quantity rounded to two decimal places may need rules that match decimal arithmetic rather than the binary representation used by &lt;code&gt;float&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
