|
-
May 6th, 1999, 10:52 AM
#1
WARNING!!!!!
yo people..
I get this warning can you help me to solve the problem..
warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
thx
-
May 6th, 1999, 11:07 AM
#2
Re: WARNING!!!!!
To avoid seeing this varning again use double type variables instead of float.
Zorik Galstyan
-
May 6th, 1999, 11:30 AM
#3
Re: WARNING!!!!!
Because a double uses more bytes than a float, you can loose information if you type case from double to float. Use doubles if the numbers are big, but if they are small. Use (double)x = (double)y;
-
May 6th, 1999, 11:37 AM
#4
Re: WARNING!!!!!
I think it is worth don't use "float" type anymore and always use "double"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|