MCPcopy Create free account
hub / github.com/Exely/CSAPP-Labs / isPositive

Function isPositive

labs/data/bits.c:262–264  ·  view source on GitHub ↗

* isPositive - return 1 if x > 0, return 0 otherwise * Example: isPositive(-1) = 0. * Legal ops: ! ~ & ^ | + << >> * Max ops: 8 * Rating: 3 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected