Unsigned data type
When it comes to float, double and decimal data types there are no unsigned data types. Please explain the reason.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 Mar 12, 2014, 5:31 AM EDT
In those languages, there's no unsigned float or double types either.
The probable reason is that it's just not worthwhile having unsigned floating point types. These types already have a very large range, compared to integers, and using the sign bit to double that range would have little practical value.
Posted Mar 12, 2014, 5:47 AM EDT