|
ru.algorithms- RU.ALGORITHMS ---------------------------------------------------------------- From : Usein Faradgev 2:5020/400 27 May 2003 15:45:40 To : Vladimir Smetankin Subject : Re: Уравнения в булевой алгебре ? -------------------------------------------------------------------------------- "Vladimir Smetankin" <vas@dd.vaz.tlt.ru> сообщил/сообщила в новостях следующее: news:bas2f2$e3o$1@ub3000.dd.vaz.tlt.ru... > Hi, All ! > > Hе подскажет ли кто, как решаются уравнения в булевой алгебре ? > А лучше ссылку, по теории на эту тему. > Да по-моему из всей теории вот этого хватит (из хелпа по С) Operator What it does & bitwise AND; compares two bits and generates a 1 result if both bits are 1, otherwise it returns 0. | bitwise inclusive OR; compares two bits and generates a 1 result if either or both bits are 1, otherwise it returns 0. ^ bitwise exclusive OR; compares two bits and generates a 1 result if the bits are complementary, otherwise it returns 0. ~ bitwise complement; inverts each bit. ~ is used to create destructors. >> bitwise shift right; moves the bits to the right, discards the far right bit and if unsigned assigns 0 to the left most bit, otherwise sign extends. << bitwise shift left; moves the bits to the left, it discards the far left bit and assigns 0 to the right most bit. Both operands in a bitwise expression must be of an integral type. Bit value Results of E1 E2 E1 & E2 E1 ^ E2 E1 | E2 0 0 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1 1 0 1 --- ifmail v.2.15dev5 * Origin: AutoVAZ, Department Of Development (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.algorithms/17432dde72029.html, оценка из 5, голосов 10
|