Taking a test for a job

D

Dave Thompson

The representation for (nonnegative) signed values must be valid for
unsigned as well, but a quick search doesn't give me a guarantee for
the reverse.
When passed as an unprototyped (6.5.2.2p6) or variadic (7.15.1p2)
argument, an unsigned integer with a value in range of the
corresponding (= same rank) signed type must work, as well as the
reverse (where any nonnegative value is in range). These aren't stated
as requirements on representation, but there doesn't seem to be any
other practical or even workable way to implement them.

- David.Thompson1 at worldnet.att.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top