<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Telehack on under THe influenCe of TeCH</title>
    <link>https://relvokcor.xyz/~stoned/tags/telehack/</link>
    <description>Recent content in Telehack on under THe influenCe of TeCH</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 10 Aug 2025 21:49:50 -0700</lastBuildDate>
    <atom:link href="https://relvokcor.xyz/~stoned/tags/telehack/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>telehack telebasic float to int cast rounding observations</title>
      <link>https://relvokcor.xyz/~stoned/posts/telehacks-telebasic-float-to-int-cast-rounding-observations/</link>
      <pubDate>Sun, 10 Aug 2025 21:49:50 -0700</pubDate>
      <guid>https://relvokcor.xyz/~stoned/posts/telehacks-telebasic-float-to-int-cast-rounding-observations/</guid>
      <description>&lt;p&gt;I noticed there are two float to int casts in Telehack&amp;rsquo;s Telebasic. I was curious about the differences under the hood.&lt;/p&gt;&#xA;&lt;p&gt;Instead of asking the great oracle search engines, I decided to do some simple blackbox testing CINT() and NINT() to gather observations&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;10 ? &amp;quot;NINT()&amp;quot;:? &amp;quot;nint(3.4)=&amp;quot;;:? nint(3.4):? &amp;quot;nint(3.5)=&amp;quot;;:? nint(3.5):? &amp;quot;nint(3.6)=&amp;quot;;:? nint(3.6)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;20 ? &amp;quot;CINT()&amp;quot;:? &amp;quot;cint(3.4)=&amp;quot;;:? cint(3.4):? &amp;quot;cint(3.5)=&amp;quot;;:? cint(3.5):? &amp;quot;cint(3.6)=&amp;quot;;:? cint(3.6)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Results&lt;/p&gt;&#xA;&lt;p&gt;NINT() - rounds down&#xA;nint(3.4)= 3&#xA;nint(3.5)= 3&#xA;nint(3.6)= 4&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
