]> The Tcpdump Group git mirrors - tcpdump/commit
Use "%.10g" rather than "%.3f" to print floating-point numbers, as it
authorguy <guy>
Wed, 11 Dec 2002 07:18:08 +0000 (07:18 +0000)
committerguy <guy>
Wed, 11 Dec 2002 07:18:08 +0000 (07:18 +0000)
commitae560894b5ede9299ff840b2d7f3b708cd5b6b04
tree7ff9540b0c593c513f8a3de7b3b5905cc2dd0012
parentfcc82f451d3e51fdf636abbf927edb287bada0e0
Use "%.10g" rather than "%.3f" to print floating-point numbers, as it

1) switches to "e" format for sufficiently large or small
   numbers;

2) doesn't put out any unnecessary trailing 0's.
print-rsvp.c