From: gns@altlinux.ru
To: "культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] Двоичные числа
Date: Thu, 8 Feb 2007 17:47:17 +0200
Message-ID: <a4ab440f0702080747m6bd3e62apfad2f5069bbc7bdf@mail.gmail.com> (raw)
In-Reply-To: <e12fd2db0702080726y13de71d1v90b65605b2e6d152@mail.gmail.com>
как и десятичная дробь:
0,abcdefg... = a/2+b/4+c/8+d/16+e/32+f/64+g/128
и алгоритм соответсвенно близко к алгоритму для целых
2007/2/8, Eugene Ostapets <eostapets@gmail.com>:
> Попросили знакомым написать рассчетку для ленивого дитяти... А там в
> задании необходимо среди прочего барахла превратить дробное число из
> десятичного в двоичное... С точностью не менее 8 знаков в дробной
> части... Забег по склерозу подсказал что в мои годы мы занимались
> только целыми числами... Кто-то помнит/знает правила для записи
> дробного числа в двоичном формате?
>
> --
> С уважением,
> Евгений Остапец
> uin: 23747217
> jid: eugene_ostapets@jabber.ru
> _______________________________________________
> smoke-room mailing list
> smoke-room@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/smoke-room
prev parent reply other threads:[~2007-02-08 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 15:26 Eugene Ostapets
2007-02-08 15:47 ` gns [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4ab440f0702080747m6bd3e62apfad2f5069bbc7bdf@mail.gmail.com \
--to=gns@altlinux.ru \
--cc=smoke-room@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Культурный офтопик
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
public-inbox-index smoke-room
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.smoke-room
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git