Files
kolibrios/programs/develop/str_double/trunk
CleverMouse cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00
..
2014-09-12 15:15:23 +00:00

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<html>

<head>

<title>String to Double</title>

<meta http-equiv="content-type" content="text/html; charset=WINDOWS-1251">

<style>

body

{

  font-size: 15px;

  font-family: "Bookman Old Style";

  color: black;

  text-align: justify;

  width: 750px;

}

h1 {

  color: white;

  background-color: 808080;

  font-size: 25px;

  text-align: center;

}

h2 { color: green; font-size: 21px; }

h3 { color: green; font-size: 19px; }

h4 { color: #803f00; font-size: 17px; }

i { color: #0099cc; }

b { color: #0099cc; }

p {

  text-indent: 2em;

  margin-top: 3px;

  margin-bottom: 2px;

  margin-left: 0px;

  margin-right: 0px;

}

ol, ul, dl{

  margin-top: 3px;

  margin-bottom: 2px;

}

</style>

</head>

<body>

<h1>String to Double 07.09.2011</h1>

<p>╧ЁюуЁрььр фы  яЁхюсЁрчютрэш  ўшёхы шч ёЄЁюъш т ЇюЁьрЄ float, double, р Єръцх шч 10 шыш 16 Ёшўэюую тю float.</p>



<p>╤фхырэр эр юёэютх яЁюуЁрьь√ <b>hex2dec2bin</b> ш яЁшьхЁют шч Їрщыр list2_05.inc (ртЄюЁ ╩єыръют ┬ырфшьшЁ ├хээрф№хтшў 24.05.2002), ъюЄюЁ√х <b>ChE</b> яхЁхфхыры ё 16 эр 32 сшЄр эр рёёхьсыхЁ fasm.</p>

<p>╧ЁюуЁрььр яючтюы хЄ Ёх°рЄ№ Єръшх чрфрўш:</p>

<p>1) ўшёыю т ёЄЁюъютюь тшфх яхЁхтхёЄш т 4 срщЄр (float) т ьр°шээ√щ тшф</p>

<p>2) ўшёыю т ёЄЁюъютюь тшфх яхЁхтхёЄш т 8 срщЄ (double) т ьр°шээ√щ тшф</p>

<p>3) ўшёыю т ьр°шээюь тшфх (float) яхЁхтхёЄш т ёЄЁюъют√щ тшф (5 чэръют яюёых чря Єющ).</p>



<h2>╧ЁшьхЁ</h2>

<p>╠√ чэрхь ўЄю хёЄ№ эхъюЄюЁюх ўшёыю <b>float</b>, ёюїЁрэхээюх т ьр°шээюь тшфх, эряЁшьхЁ <b>3fa00000</b>. ╫Єю с√ єчэрЄ№ ъръ ¤Єю ўшёыю сєфхЄ ёьюЄЁхЄ№ё  т фхё Єшўэюь тшфх фхырхь Єръшх фхщёЄтш :</p>

<p>1) тъы■ўрхь юяЎш■ <b>float(dec,hex) -&gt; str</b>,

2) ттюфшь ЄхъёЄ <b>0x3fa00000</b>,

3) эрцшьрхь <b>┬тюф</b> (т рэуы. тхЁёшш <b>Ok</b>).</p>

<p>┬ Ёхчєы№ЄрЄх єчэрхь ўЄю ¤Єю ўшёыю <b>1.25</b>:</p>

<img src="str_do_opt3.png">

<p>╨шё. 1. ╚ёяюы№чютрэшх юяЎшш <b>float(dec,hex) -&gt; str</b></p>

</body>

</html>