473,505 Members | 14,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Value of float variable

Hi,

I use Visual C++ 6.0. While in debug mode I watch a float variable in the
watch window. It has the value

-1.#IND0

What does this mean? I haven't found anything about this on the net.

Thanks,
Cristian
Jul 22 '05 #1
2 2500
Cristian Tota wrote:

Hi,

I use Visual C++ 6.0. While in debug mode I watch a float variable in the
watch window. It has the value

-1.#IND0

What does this mean? I haven't found anything about this on the net.


It is the VC++ way of outputting 'quiet Nan' or 'Indefinite'.
NaN stands for: Not a number
--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #2

Thanks!
"Karl Heinz Buchegger" <kb******@gascad.at> wrote in message
news:41***************@gascad.at...
Cristian Tota wrote:

Hi,

I use Visual C++ 6.0. While in debug mode I watch a float variable in the watch window. It has the value

-1.#IND0

What does this mean? I haven't found anything about this on the net.


It is the VC++ way of outputting 'quiet Nan' or 'Indefinite'.
NaN stands for: Not a number
--
Karl Heinz Buchegger
kb******@gascad.at

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2334
by: Jacob | last post by:
I just wrote a function that draws a fractal by recursively calling itself, and ran into an odd (odd from my point of view anyway) problem. I've managed to solve (or rather, circumnavigate) the...
3
7050
by: Robb Gilmore | last post by:
Hello, We have a C#.NET app which is calling a Java webservice. We use the wsdl file exportted from the java webservice to create our web-reference in Visual Studio. We are able to create the...
12
2634
by: Ivan Leo Puoti | last post by:
How can I get a function to return the .xxx part of a floating point number? Ivan.
6
2290
by: Dave win | last post by:
Hi all: I'm confused with the expression "(float *())". Book says that this is a cast. But, I have no idea of this expr. why could this expr ignore the variable??? Thanx!!!
19
7186
by: steve | last post by:
// What I want to do Use enumerated types with the Interlocked.Exchange methods Suggestions please // My estimation of problem Seems like Interlocked.Exchange only works with ints,...
3
2151
by: dean.elwood | last post by:
Hi guys, My first post here and I'm a pascal coder doing his best to move to C/C++ so please go easy on me ;) I'm using the MySQL C API to pull some values from a DB. One of the fields is a...
7
2128
by: dotnetnoob | last post by:
i keep getting Object references not set to an instance of an object from this code: Private Sub EqBinding() Dim x As Integer x = 0 Do If CStr(arlsType.Item(x)) = "Bacnet Point" Then Dim...
4
3549
by: Macneed | last post by:
i am a newbie, i remember i read a book talking about when u declare a array variable using float ABC = new float; the whole array element in ABC ( ABC to ABC ) will automatic initialize to 0...
1
1784
by: venu8966 | last post by:
Here is a C pgm, which gives comparison of float variable with its own value, wrong result. main() {float a=0.7; if(a<0.7) printf("it is less"); else printf("it is large"); }
3
3384
by: DWilli3501 | last post by:
I have two short programs that use floating point numbers. The first gives an incorrect result. By simply placing a "cout" (or any executable line) in the correct location of the program I get a...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.