Difference between revisions of "Template:GB18030/pointer"

From blackwiki
Jump to navigation Jump to search
imported>HarJIT
(Created page with '{{hexadecimal| {{#expr: floor({{{1|}}} / 12600) + 129 }} |no}} <!-- -->{{hexadecimal| {{#expr: floor(({{{1|}}} MOD 12600) / 1260) + 48 }} |no}} <!-- -->{{hexadec...')
 
imported>HarJIT
Line 2: Line 2:
 
-->{{hexadecimal| {{#expr: floor(({{{1|}}} MOD 12600) / 1260) + 48 }} |no}} <!--
 
-->{{hexadecimal| {{#expr: floor(({{{1|}}} MOD 12600) / 1260) + 48 }} |no}} <!--
 
-->{{hexadecimal| {{#expr: floor(({{{1|}}} MOD 1260) / 10) + 129 }} |no}} <!--
 
-->{{hexadecimal| {{#expr: floor(({{{1|}}} MOD 1260) / 10) + 129 }} |no}} <!--
-->{{hexadecimal| {{#expr: ({{{1|128169}} MOD 10) + 48 }} |no}} <!--
+
-->{{hexadecimal| {{#expr: ({{{1|}}} MOD 10) + 48 }} |no}} <!--
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 13:14, 17 August 2020

expressionerror: Unexpected / operator. expressionerror: Unexpected mod operator. expressionerror: Unexpected mod operator. expressionerror: Unexpected mod operator.

Template documentation[view] [edit] [history] [purge]

Internal use template used in the process of generating a four-byte GB 18030 code which encodes a a Basic Multilingual Plane code. Used by Template:GB18030/BMP. Not needed by Template:GB18030/astral.

Usage

Takes one argument: a decimal number n referring to the nth possible GB 18030 four-byte code counting from 0 (what the WHATWG calls an index gb18030 ranges pointer).