#include uint16_t uint16_topbit_01(uint16_t x) { x >>= 15; return (1 & x); }