[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3320 - gnuradio/trunk/gr-radar/src/lib
From: |
eb |
Subject: |
[Commit-gnuradio] r3320 - gnuradio/trunk/gr-radar/src/lib |
Date: |
Wed, 16 Aug 2006 12:44:25 -0600 (MDT) |
Author: eb
Date: 2006-08-16 12:44:25 -0600 (Wed, 16 Aug 2006)
New Revision: 3320
Modified:
gnuradio/trunk/gr-radar/src/lib/eb-xambi.cc
gnuradio/trunk/gr-radar/src/lib/sim-airplane.cc
gnuradio/trunk/gr-radar/src/lib/sim-airplane2.cc
Log:
strtof -> strtod
Modified: gnuradio/trunk/gr-radar/src/lib/eb-xambi.cc
===================================================================
--- gnuradio/trunk/gr-radar/src/lib/eb-xambi.cc 2006-08-16 18:42:10 UTC (rev
3319)
+++ gnuradio/trunk/gr-radar/src/lib/eb-xambi.cc 2006-08-16 18:44:25 UTC (rev
3320)
@@ -204,7 +204,7 @@
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 @@
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");
Modified: gnuradio/trunk/gr-radar/src/lib/sim-airplane.cc
===================================================================
--- gnuradio/trunk/gr-radar/src/lib/sim-airplane.cc 2006-08-16 18:42:10 UTC
(rev 3319)
+++ gnuradio/trunk/gr-radar/src/lib/sim-airplane.cc 2006-08-16 18:44:25 UTC
(rev 3320)
@@ -227,7 +227,7 @@
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 @@
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 @@
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 '?':
Modified: gnuradio/trunk/gr-radar/src/lib/sim-airplane2.cc
===================================================================
--- gnuradio/trunk/gr-radar/src/lib/sim-airplane2.cc 2006-08-16 18:42:10 UTC
(rev 3319)
+++ gnuradio/trunk/gr-radar/src/lib/sim-airplane2.cc 2006-08-16 18:44:25 UTC
(rev 3320)
@@ -298,7 +298,7 @@
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 @@
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 @@
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 '?':
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3320 - gnuradio/trunk/gr-radar/src/lib,
eb <=