Hello all,
I am using C++ to convert a certain file into an XML file. During the
conversion the program does some arithmetic operations on the
information that is then outputted in xml format. The information is
a double variable.
Usually the output is exactly what it should be, but every so often
the output is "-1.#J".
"-1.#I" (thats an i) means the value is infinite right?
So does anyone know what "-1.#J" means?
Is there some site that has all different types of obscure outputs?
As soon as I know what the "J" means I will know what to look for in
my code and should be able to fix it.
TYVM!
~Lightmage 4 5290
Lightmage wrote:
I am using C++ to convert a certain file into an XML file. During the
conversion the program does some arithmetic operations on the
information that is then outputted in xml format. The information is
a double variable.
Usually the output is exactly what it should be, but every so often
the output is "-1.#J".
"-1.#I" (thats an i) means the value is infinite right?
So does anyone know what "-1.#J" means?
Is there some site that has all different types of obscure outputs?
As soon as I know what the "J" means I will know what to look for in
my code and should be able to fix it.
Unfortunately those things are not specified in either C++ or C.
You need to turn to your compiler documentation. See what out of
range numerical outputs they provide. I have not heard of -1.#J
but I've seen something like #INF or some such.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
On May 1, 1:42 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Lightmage wrote:
I am using C++ to convert a certain file into an XML file. During the
conversion the program does some arithmetic operations on the
information that is then outputted in xml format. The information is
a double variable.
Usually the output is exactly what it should be, but every so often
the output is "-1.#J".
"-1.#I" (thats an i) means the value is infinite right?
So does anyone know what "-1.#J" means?
Is there some site that has all different types of obscure outputs?
As soon as I know what the "J" means I will know what to look for in
my code and should be able to fix it.
Unfortunately those things are not specified in either C++ or C.
You need to turn to your compiler documentation. See what out of
range numerical outputs they provide. I have not heard of -1.#J
but I've seen something like #INF or some such.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Thank you for your reply V.
I am using Microsoft Visual Studio .NET 2002.
If you happen to know where I should look or have a link that would be
most helpful.
Thank you for narrowing my search!
~Lightmage
Lightmage wrote:
On May 1, 1:42 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>Lightmage wrote:
>>I am using C++ to convert a certain file into an XML file. During the conversion the program does some arithmetic operations on the information that is then outputted in xml format. The information is a double variable.
>>Usually the output is exactly what it should be, but every so often the output is "-1.#J".
>>"-1.#I" (thats an i) means the value is infinite right? So does anyone know what "-1.#J" means?
>>Is there some site that has all different types of obscure outputs?
>>As soon as I know what the "J" means I will know what to look for in my code and should be able to fix it.
Unfortunately those things are not specified in either C++ or C. You need to turn to your compiler documentation. See what out of range numerical outputs they provide. I have not heard of -1.#J but I've seen something like #INF or some such.
V -- Please remove capital 'A's when replying by e-mail I do not respond to top-posted replies, please don't ask
Thank you for your reply V.
I am using Microsoft Visual Studio .NET 2002.
If you happen to know where I should look or have a link that would be
most helpful.
Thank you for narrowing my search!
~Lightmage
I would probably start in http://msdn2.microsoft.com ... And next
time if your question is MSVC-specific, try
news:microsoft.public.vc.language
Lots of good info there.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
On May 1, 1:51 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Lightmage wrote:
On May 1, 1:42 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Lightmage wrote: I am using C++ to convert a certain file into an XML file. During the conversion the program does some arithmetic operations on the information that is then outputted in xml format. The information is a double variable.
>Usually the output is exactly what it should be, but every so often the output is "-1.#J".
>"-1.#I" (thats an i) means the value is infinite right? So does anyone know what "-1.#J" means?
>Is there some site that has all different types of obscure outputs?
>As soon as I know what the "J" means I will know what to look for in my code and should be able to fix it.
Unfortunately those things are not specified in either C++ or C.
You need to turn to your compiler documentation. See what out of
range numerical outputs they provide. I have not heard of -1.#J
but I've seen something like #INF or some such.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Thank you for your reply V.
I am using Microsoft Visual Studio .NET 2002.
If you happen to know where I should look or have a link that would be
most helpful.
Thank you for narrowing my search!
~Lightmage
I would probably start inhttp://msdn2.microsoft.com... And next
time if your question is MSVC-specific, try
news:microsoft.public.vc.language
Lots of good info there.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Thank you very much V! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Chris Cioffi |
last post by:
I started writing this list because I wanted to have definite points
to base a comparison on and as the starting point of writing something
myself. After looking around, I think it would be a...
|
by: perseus |
last post by:
I think that everyone who told me that my question is irrelevant,
in particular Mr. David White,
is being absolutely ridiculous. Obviously, most of you up here
behave like the owners of the C++...
|
by: Dan V. |
last post by:
Situation:
I have to connect with my Windows 2000 server using VS.NET 2003 and C# and
connect to a remote Linux server at another company's office and query their
XML file. Their file may be...
|
by: GTO |
last post by:
I do not believe that C# is the future of C++. I also do not believe that
adding two thousand new library functions to the standard library is the
future of C++. But what is the future of C++? Is...
|
by: Paul |
last post by:
HI! I get an error with this code.
<SCRIPT language="JavaScript">
If (ifp==""){
ifp="default.htm"}
//--></SCRIPT>
Basicly I want my iframe to have a default page if the user enters in...
|
by: Sunil |
last post by:
Hi all,
I am using gcc compiler in linux.I compiled a small program
int main()
{
printf("char : %d\n",sizeof(char));
printf("unsigned char : ...
|
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Language”, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic...
|
by: Erick-> |
last post by:
hello!!
I was looking at some code in C... and saw this "exotic" operator |=.
first time with it, what exactky does???
thanks in advance.
Erick->
|
by: robert maas, see http://tinyurl.com/uh3t |
last post by:
Here's the source:
#include <stdio.h>
#include <errno.h>
main () {
char* str = "9999999999";
long long int llin; char* endptr; /* Set by strtoll */
int nch;
errno = 0;
llin = strtoll(str,...
|
by: Stephen Horne |
last post by:
I've been using Visual C++ 2003 for some time, and recently started
working on making my code compile in GCC and MinGW. I hit on lots of
unexpected problems which boil down to the same template...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |