Files
ace-dent 6ad8a8b6cc programs/develop: Post-SVN tidy (part 2) (#422)
- Move source code from `trunk` into root directory for each program.
- Update build files and ASM include paths. Add SPDX license header where appropriate.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.

(Work towards #75, point 3)

Reviewed-on: KolibriOS/kolibrios#422
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Reviewed-by: Burer <burer@noreply.localhost>
Co-authored-by: Andrew <dent.ace@gmail.com>
Co-committed-by: Andrew <dent.ace@gmail.com>
2026-04-16 12:18:20 +00:00

57 lines
1.9 KiB
HTML
Raw Permalink Blame History

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>