Return 0 in case x=y
Return 1 in case x>y
Return -1 in case x
Write another function to compare two floating-point values.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Dec 1, 2012, 8:05 AM EST