<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Licensed under the GNU General Public License. 
See the file COPYING.txt for details
$Date: 2008-11-01 12:54:12 +0000 (Sat, 01 Nov 2008) $
$Id: data.numeric.xml 4899 2008-11-01 12:54:12Z rahtz $
-->
<macroSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tei" type="dt" ident="data.numeric">
  <desc>defines the range of attribute values used for numeric values.</desc>
  <desc version="2007-12-20" xml:lang="kr">수치에 사용되는 속성 값의 범위를 정의한다.</desc>
  <desc version="2007-05-02" xml:lang="zh-tw">定義用於數值的屬性值範圍
    </desc>
  <desc version="2008-04-05" xml:lang="ja">
  数値をとる属性値の範囲を定義する．
  </desc>
  <desc version="2007-06-12" xml:lang="fr">définit la gamme des valeurs d'attributs utilisées
      pour des valeurs numériques</desc>
  <desc version="2007-05-04" xml:lang="es">define la gama de valores de atributos para valores numéricos.</desc>
  <desc version="2007-01-21" xml:lang="it">definisce la gamma di valori di attributi usati per valori numerici</desc>
  <content>
    <rng:choice>
      <rng:data type="double"/>
      <rng:data type="decimal"/>
    </rng:choice>
  </content>
  <remarks>
    <p>Any numeric value that can be represented as a decimal number.</p>
    <p>In addition, the range of values that can be represented in an
    IEEE double precision (i.e., 64-bit) floating point number may be
    represented using scientific notation. Roughly that range is
    ±10⁻³²³ to
    ±10³⁰⁸.</p>
    <p>To represent a number expressed in scientific notation,
    <soCalled>E notation</soCalled>, a variant of
    <soCalled>exponential notation</soCalled>, is used in the
    attribute value. A number is represented in exponential notation
    as a value between 1 and 10 (or -1 and -10) which is multiplied by
    ten raised to some integral power. When reading E notation, the
    letter <mentioned>E</mentioned> is read as <q>times 10 to the
    power</q>.</p>
    <p>That is, the significand (sometimes called the mantissa) is
    written as a decimal number, followed by the letter
    <mentioned>E</mentioned>, followed by an integer exponent. The
    multiplication sign and the base itself
    (<mentioned>10</mentioned>) are implied. Either the significand or
    the exponent (or both) may be a negative number, in which case it
    should be preceded by a minus sign. There should be no whitespace
    separating the significand from the <mentioned>E</mentioned> from
    the exponent. E.g., 3×10⁸ can be expressed as <val>3E8</val>.</p>
    <p>Other examples of scientific notation include:
    <list><item><val>3E10</val> (the speed of light in centimetres per second)</item><item><val>9.12E-31</val> (the mass of an electron in Kg)</item><item><val>4E11</val> (estimated number of stars in our galaxy)</item><item><val>-1.76E11</val> (electron charge to mass quotient in coulombs per Kg)</item></list>
    </p>
    <p>Either <mentioned>e</mentioned> or <mentioned>E</mentioned> may
    be used to separate the significand from the exponent, however
    these Guidelines recommend <mentioned>E</mentioned> be used both
    for consistency with other standards bodies and to avoid confusion
    with the mathematical constant <code>e</code>.</p>
  </remarks>
  <remarks xml:lang="ja">
    <p>
    10進数を作る数値．
    </p>
    <p>
    また，IEEE倍精度浮動小数点(64bit長)をとることもできる．例えば，
    ±10⁻³²³ から ±10³⁰⁸など．
    </p>
    <p>
    科学的数値を評点する際，<soCalled>指数表現</soCalled>は，属性値と
    して記述される．
    10進数による仮数部，続いて記号<mentioned>E</mentioned>，続いて指数
    部がくる．
 <!-- to which a base of 10 should be raised and the result multiplied by
    the signficand --> 
    乗算記号と底(<mentioned>10</mentioned>)は省略される．仮数部と指数
    部には負になるかもしれない．記号<mentioned>E</mentioned>と指数部を
    分けるために空白文字を入れる必要はない．例えば，3×10⁸ は
    <val>3E8</val>と書かれる．
    </p>
    <p>
    他の例として，以下のようなものがある．
    <list><item><val>3E10</val> (光の速度(cm/秒))</item><item><val>9.12E-31</val> (電子の質量(kg))</item><item><val>4E11</val> (銀河系にある恒星の数(推定値))</item><item><val>-1.76E11</val> (電子の電荷(クローン))</item></list>
    </p>
    <p>
    仮数部と指数部を分ける記号は<mentioned>e</mentioned>または
    <mentioned>E</mentioned>のどちらでもよいが，当ガイドラインでは
    <mentioned>E</mentioned>を使うことを推奨する．これは，他の規格との
    整合性を保ち，数学における定数との混同を避けるためである．
    </p>
  </remarks>
</macroSpec>
