Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3665

Re: Adding double-float values together

Newsgroups comp.programming
Date 2013-08-16 02:25 -0700
References (5 earlier) <0.11eb06d3be0f6c23440c.20130815020527BST.87ob8zix0o.fsf@bsb.me.uk> <b8b9f322-f29c-4fef-961a-06e5d2e9cef8@googlegroups.com> <0.199e7f1d0bb64ce9a16e.20130815030401BST.87d2pfiub2.fsf@bsb.me.uk> <5adfe06a-6ddf-41a9-bfaf-49271b5e85b9@googlegroups.com> <0.593019630819eda7e2dd.20130815170222BST.87zjsjgcxe.fsf@bsb.me.uk>
Message-ID <6918786f-e5f4-4306-80dc-a6ca6518f14d@googlegroups.com> (permalink)
Subject Re: Adding double-float values together
From industrial_one@hotmail.com

Show all headers | View raw


On Thursday, August 15, 2013 4:02:21 PM UTC, Ben Bacarisse wrote:
> I did assume you were posting ASCII hex values!  You posted some text

Yes, because I couldn't post the actual hex data here or it'd appear as a bunch of weird symbols which might not even go thru properly. Forget about it, I should've uploaded the log file somewhere to avoid this confusion completely. My bad.
 
> assumptions about you might or might not be able to do.  I, too, thought
> 
> "what kind of weird program would store values in ASCII floats?" but
> 
> then you yourself had descried the format as "so stupid" so I thought

I said it was stupid to store integer values in a float. Floats are for numbers with decimals.

> What is bmplogsadd?  I take it conv is the EXE file build from the
> 
> source I posted?  If so all you can do with it is run it like this:
> 
> 
> 
>   conv x2008.1.dat i2008.1.dat >output.txt
> 
> 
> 
> (with or without the >... part).  If bmplogsadd is your script, I can't
> 
> say much more without seeing it.

Oh, I didn't know the conv was the program, I thought it was a parameter. It works now but I need the output to be the same format as the original log files, raw dfloats.
 
> Unless I missed it you have not said in what form you'd like the output.

I did I said I wanted to combine two network logs into one by adding their values together.

Thanks for the help. I oughta make time to learn some C. Excel spoiled the hell out of me for simple number tasks like this. If the contents of the logs were integers instead of floats, it wouldn't be such a problem.

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Adding double-float values together industrial_one@hotmail.com - 2013-08-14 09:40 -0700
  Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-14 18:23 +0100
    Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-14 10:35 -0700
      Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-14 19:22 +0100
        Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-14 12:20 -0700
          Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-15 02:05 +0100
            Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-15 02:36 +0100
            Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-14 18:42 -0700
              Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-15 03:04 +0100
                Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-14 21:17 -0700
                Re: Adding double-float values together Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-08-15 08:39 -0700
                Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-15 17:02 +0100
                Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-16 02:25 -0700
                Re: Adding double-float values together Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-08-16 12:45 +0100
                Re: Adding double-float values together industrial_one@hotmail.com - 2013-08-20 01:55 -0700
                Re: Adding double-float values together Jongware <jongware@no-spam.plz> - 2013-08-20 12:40 +0200
                Re: Adding double-float values together "Julio Di Egidio" <julio@diegidio.name> - 2013-08-20 20:53 +0100
                Re: Adding double-float values together Robert Miles <milesrf@Usenet-News.net> - 2013-08-24 09:22 -0500
                Re: Adding double-float values together "Julio Di Egidio" <julio@diegidio.name> - 2013-08-24 15:49 +0100

csiph-web