<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://forge.gemwire.uk/index.php?action=history&amp;feed=atom&amp;title=Toolchain%2FMagic_Constants%2F1.16</id>
	<title>Toolchain/Magic Constants/1.16 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://forge.gemwire.uk/index.php?action=history&amp;feed=atom&amp;title=Toolchain%2FMagic_Constants%2F1.16"/>
	<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Toolchain/Magic_Constants/1.16&amp;action=history"/>
	<updated>2026-05-22T21:57:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://forge.gemwire.uk/index.php?title=Toolchain/Magic_Constants/1.16&amp;diff=2792&amp;oldid=prev</id>
		<title>ShrimpBot: Copy Toolchain/Magic Constants to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Toolchain/Magic_Constants/1.16&amp;diff=2792&amp;oldid=prev"/>
		<updated>2021-07-27T04:15:18Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/Toolchain/Magic_Constants&quot; title=&quot;Toolchain/Magic Constants&quot;&gt;Toolchain/Magic Constants&lt;/a&gt; to MC1.16 archive&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:15, 27 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [[Toolchain:MCPCleanup/1.16]] utility has many functions, one among them is to convert known constants into code representation for easier visualisation.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [[Toolchain:MCPCleanup/1.16&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|Toolchain:MCPCleanup&lt;/ins&gt;]] utility has many functions, one among them is to convert known constants into code representation for easier visualisation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Constants ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Constants ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ShrimpBot</name></author>
	</entry>
	<entry>
		<id>https://forge.gemwire.uk/index.php?title=Toolchain/Magic_Constants/1.16&amp;diff=2741&amp;oldid=prev</id>
		<title>ShrimpBot: Copy Toolchain/Magic Constants to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Toolchain/Magic_Constants/1.16&amp;diff=2741&amp;oldid=prev"/>
		<updated>2021-07-27T03:59:27Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/Toolchain/Magic_Constants&quot; title=&quot;Toolchain/Magic Constants&quot;&gt;Toolchain/Magic Constants&lt;/a&gt; to MC1.16 archive&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [[Toolchain:MCPCleanup/1.16]] utility has many functions, one among them is to convert known constants into code representation for easier visualisation.&lt;br /&gt;
&lt;br /&gt;
== Constants ==&lt;br /&gt;
&lt;br /&gt;
The known substitutions are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;1.7976[0-9]*[Ee]+308[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;Double.MAX_VALUE&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;3.1415[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;Math.PI&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;3.1415[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(float)Math.PI&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;6.2831[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 2D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;6.2831[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 2F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;4.7123[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 3D / 2D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;4.7123[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 3F / 2F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.7853[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI / 4D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.7853[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI / 4F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;6.2831[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 2F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.6283[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI / 5D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.6283[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI / 5F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;57.295[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(180D / Math.PI)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;57.295[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(180F / (float)Math.PI)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.6981[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 2D / 9D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.6981[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 2F / 9F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.3141[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI / 10D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.3141[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI / 10F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;1.2566[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 2D / 5D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;1.2566[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI 2F / 5F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.21991[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 7D / 100D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.21991[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 7F / 100F)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;5.8119[0-9]*[Dd]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;(Math.PI * 185D / 100D)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;0.8119[0-9]*[Ff]&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;((float)Math.PI * 185F / 100F)&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>ShrimpBot</name></author>
	</entry>
</feed>