KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The description for type float in C mentions that the number of significant digits is 6 . However, float f = 12345.6; and then printing it using printf() does not print 12345.6 , it prints 12345.599609 . So what does "6 significant digits" (or "15 in case of a double ") mean for a floating point type?
Tags (comma-separated)
Save Edits
Cancel