floor(-0.5)

F

Francois Grieu

In ISO/IEC 9899:1999, it is unambiguous that floor(-0.5)
has the value -1 (converted to double).

What this the case in earlier C standards?

Is anyone aware of an implementaton that has it wrong ?

Françosi Grieu
 

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,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top