# Operators

Jefferson M. Dubrule (Jefferson.M.Dubrule@dartmouth.edu)
Thu, 11 Apr 1996 21:26:52 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    --- "Matthew `GrendelFish' Dockrey" wrote:
    And ((x && !y) || (!x && y)) is fairly clunky.
    --- end of quoted material ---
    Sorry to reply twice, but here's a slightly more elegant, slightly less obvious
    way:
    ((!!x + !!y) == 1)

    -manta