Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
memset all bits to zero will let float/double to zero?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Malcolm, post: 2377784"] I think the main reason is psychological. foo(0) passes a NULL pointer to foo(), so an implementor is going to use all bits zero as the representation unless there is a really pressing reason to do otherwise. Then there's the problem of code that uses memset() or calloc() to intialise pointer data. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
memset all bits to zero will let float/double to zero?
Top