<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>binary to decimal</title>
		<link>http://tibasicdev.wikidot.com/forum/t-14389620/binary-to-decimal</link>
		<description>Posts in the discussion thread &quot;binary to decimal&quot; - is there anything else possible?</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 21 Jul 2026 19:57:48 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-14389620#post-5159133</guid>
				<title>Re: binary to decimal code optimization</title>
				<link>http://tibasicdev.wikidot.com/forum/t-14389620/binary-to-decimal#post-5159133</link>
				<description></description>
				<pubDate>Sun, 19 Dec 2021 03:37:27 +0000</pubDate>
				<wikidot:authorName>imcoraline</wikidot:authorName>				<wikidot:authorUserId>6725643</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>by the way, that funky superscript character next to 4 is -1. its really 4^-1 using the inverse command. its .25, but smaller, since it uses less tokens.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-14389620#post-5159131</guid>
				<title>binary to decimal code optimization</title>
				<link>http://tibasicdev.wikidot.com/forum/t-14389620/binary-to-decimal#post-5159131</link>
				<description></description>
				<pubDate>Sun, 19 Dec 2021 03:34:43 +0000</pubDate>
				<wikidot:authorName>imcoraline</wikidot:authorName>				<wikidot:authorUserId>6725643</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>im not trying for speed, im trying for size. right now, on my ti83+, this program takes up 37 ram (with a one letter program name, if that changes anything). is there any further optimization possible at this point?</p> <p>(note: the code takes a binary number in a list (that list is Ans) and outputs the decimal equivalent. for example, 101<sub>2</sub> is {1,0,1}.)</p> <div class="code"> <pre><code>4ֿ¹sum(seq(Ans(1+dim(Ans)-A)2(2^A),A,1,dim(Ans</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>