m_and.miaou
← Le code · src/outil/miaou/m_and.miaou · 17 lignes
(node m_and
(params (x Mot) (y Mot))
(returns Mot)
(intent "le et bit à bit des mots de 64 bits x et y")
(origin "phase 8f6 : le hasard de Python en miaou, d'après h_sha512 de l'outil inter (des mots de 64 bits en deux moitiés de 32)")
(effects)
(uses b_and)
(requires
true)
(ensures
true)
(examples
(ex ((record Mot (h 3) (l 6)) (record Mot (h 1) (l 4))) (record Mot (h 1) (l 4))))
(equivalence exact)
(body.high
(record Mot (h (b_and (get x h) (get y h))) (l (b_and (get x l) (get y l)))))
(end node m_and))