[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] It's impossible !!!!! I don't know !!!! This is correct !!!



Hi to all ...
I've a problem if i sum two or much variable with class operation :
 
      double a = ((double) (now)) + ((double) (delay_line[line]));
      double b = ((double) (punt->pkt.arriveTime)) + ((double) (delay_line[punt->pkt.linedelay])) + ((double) (txtime(punt->pkt.pkt)));
      fprintf(stderr,"%g,%g,%g,%g,%g %g %g\n",now,delay_line[line],punt->pkt.arriveTime,delay_line[punt->pkt.linedelay],txtime(punt->pkt.pkt),a,b);
Go out on my screen :
                                1,1e-05,1,1e-05,8e-07 1.00001 1.00001
 
IT'S IMPOSSIBLE !!!!!
Somebody have a reazon and a solution for this ???