"dual," mid-15c., from Late Latin binarius "consisting of two," from bini "twofold, two apiece, two-by-two" (used especially of matched things), from bis "double" (see bis-). Binary code in computer terminology was in use by 1952, though the idea itself is ancient. Binary star in astronomy is from 1802.[binary etymology, binary origin, 英语词源]