func add(to, from, mask uint64) uint64 { var ( filled = to & mask masked = from & mask sum = filled + masked changed = to ^ sum modify = changed & mask ) return to ^ modify }
To receive a hint, submit unfixed code.