diff options
author | eb | 2006-08-16 18:44:25 +0000 |
---|---|---|
committer | eb | 2006-08-16 18:44:25 +0000 |
commit | 1f0a124c68a40b2eee063267d4f7aeba4ed87619 (patch) | |
tree | a68b43e37041ff8b3b65c9398fddf8168ea44e5d /gr-radar/src | |
parent | 9e87536c2e785147cd8d0781df172e9775ecc5d0 (diff) | |
download | gnuradio-1f0a124c68a40b2eee063267d4f7aeba4ed87619.tar.gz gnuradio-1f0a124c68a40b2eee063267d4f7aeba4ed87619.tar.bz2 gnuradio-1f0a124c68a40b2eee063267d4f7aeba4ed87619.zip |
strtof -> strtod
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3320 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radar/src')
-rw-r--r-- | gr-radar/src/lib/eb-xambi.cc | 4 | ||||
-rw-r--r-- | gr-radar/src/lib/sim-airplane.cc | 10 | ||||
-rw-r--r-- | gr-radar/src/lib/sim-airplane2.cc | 12 |
3 files changed, 13 insertions, 13 deletions
diff --git a/gr-radar/src/lib/eb-xambi.cc b/gr-radar/src/lib/eb-xambi.cc index c3c01953e..819baa333 100644 --- a/gr-radar/src/lib/eb-xambi.cc +++ b/gr-radar/src/lib/eb-xambi.cc @@ -204,7 +204,7 @@ main(int argc, char **argv) break; case 's': - nsamples_to_skip = (long long) strtof(optarg, 0); + nsamples_to_skip = (long long) strtod(optarg, 0); if (nsamples_to_skip < 0){ usage(argv[0]); fprintf(stderr, " nsamples_to_skip must be >= 0\n"); @@ -213,7 +213,7 @@ main(int argc, char **argv) break; case 'd': - max_doppler = strtof(optarg, 0); + max_doppler = strtod(optarg, 0); if (max_doppler < 0 || max_doppler >= 0.5){ usage(argv[0]); fprintf(stderr, " max_doppler must be in [0, 0.5)\n"); diff --git a/gr-radar/src/lib/sim-airplane.cc b/gr-radar/src/lib/sim-airplane.cc index 99ee9cca6..2d4bec86d 100644 --- a/gr-radar/src/lib/sim-airplane.cc +++ b/gr-radar/src/lib/sim-airplane.cc @@ -227,7 +227,7 @@ main(int argc, char **argv) break; case 's': - nsamples_to_skip = (long long) strtof(optarg, 0); + nsamples_to_skip = (long long) strtod(optarg, 0); if (nsamples_to_skip < 0){ usage(argv[0]); fprintf(stderr, " nsamples_to_skip must be >= 0\n"); @@ -236,7 +236,7 @@ main(int argc, char **argv) break; case 'n': - nsamples_to_produce = (long long) strtof(optarg, 0); + nsamples_to_produce = (long long) strtod(optarg, 0); if (nsamples_to_produce < 0){ usage(argv[0]); fprintf(stderr, " nsamples_to_produce must be >= 0\n"); @@ -245,15 +245,15 @@ main(int argc, char **argv) break; case 'g': - gain_db = strtof(optarg, 0); + gain_db = strtod(optarg, 0); break; case 'f': - tx_freq = strtof(optarg, 0); + tx_freq = strtod(optarg, 0); break; case 'r': - sample_rate = strtof(optarg, 0); + sample_rate = strtod(optarg, 0); break; case '?': diff --git a/gr-radar/src/lib/sim-airplane2.cc b/gr-radar/src/lib/sim-airplane2.cc index 937436c20..753b5952f 100644 --- a/gr-radar/src/lib/sim-airplane2.cc +++ b/gr-radar/src/lib/sim-airplane2.cc @@ -298,7 +298,7 @@ main(int argc, char **argv) break; case 's': - nsamples_to_skip = (long long) strtof(optarg, 0); + nsamples_to_skip = (long long) strtod(optarg, 0); if (nsamples_to_skip < 0){ usage(argv[0]); fprintf(stderr, " nsamples_to_skip must be >= 0\n"); @@ -307,7 +307,7 @@ main(int argc, char **argv) break; case 'n': - nsamples_to_produce = (long long) strtof(optarg, 0); + nsamples_to_produce = (long long) strtod(optarg, 0); if (nsamples_to_produce < 0){ usage(argv[0]); fprintf(stderr, " nsamples_to_produce must be >= 0\n"); @@ -316,19 +316,19 @@ main(int argc, char **argv) break; case 'g': - gain_db = strtof(optarg, 0); + gain_db = strtod(optarg, 0); break; case 'f': - tx_freq = strtof(optarg, 0); + tx_freq = strtod(optarg, 0); break; case 'r': - sample_rate = strtof(optarg, 0); + sample_rate = strtod(optarg, 0); break; case 'S': - start_time = strtof(optarg, 0); + start_time = strtod(optarg, 0); break; case '?': |