Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #109815
| From | fred flintstone <fred@server.invalid> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: solved Re: obtaining a c value from a perl script |
| Date | 2017-05-12 02:26 -0700 |
| Message-ID | <enldeqF7bmoU1@mid.individual.net> (permalink) |
| References | (8 earlier) <32cc7dc7-4419-44a3-b0f5-50d1a7f0d400@googlegroups.com> <endhaeFbvqgU1@mid.individual.net> <874lwuazve.fsf@bsb.me.uk> <enfvqcFqdfoU1@mid.individual.net> <87o9v18174.fsf@bsb.me.uk> |
On 05/10/2017 03:18 AM, Ben Bacarisse wrote: [OP feels better >> I'm curious whether a C compiler can decide better not to do the >> division at all.... > > Why did you do it? > Self-interest, god-consciousness, and recon? I'll show you what I'll do with it, if I can align this text. An asbestos suit works fine for clc, but I do not want to bring mis-aligned log-data any farther than I have to. [I might get back on topic here, give me a little rope.] My ostensible problem is that the output I am to reveal is actually from a child syntax of C, perl, and therefore untopical in clc...bla...bla...ginger... Script executed at Fri May 12 01:09:56 2017 1 Moon 10h 14m 25s +11° 36.6' 59.0 ER 44.751 53.800 Up 1 Sun 10h 4m 42s +11° 48.2' 1.012 43.495 56.633 Up 2 Moon 10h 3m 2s +12° 22.4' 58.9 ER 45.588 −54.005 Up 2 Sun 10h 3m 56s +11° 52.4' 1.012 45.053 −53.845 Up 3 Moon 10h 7m 36s +12° 4.2' 58.9 ER 56.545 −12.324 Up 3 Sun 10h 4m 14s +11° 50.7' 1.012 56.441 −10.790 Up 4 Moon 10h 4m 54s +12° 15.0' 58.9 ER 51.475 −39.262 Up 4 Sun 10h 4m 4s +11° 51.7' 1.012 51.222 −38.686 Up 5 Moon 10h 3m 54s +12° 19.0' 58.9 ER 48.527 −47.478 Up 5 Sun 10h 4m 0s +11° 52.1' 1.012 48.135 −47.147 Up 6 Moon 10h 4m 22s +12° 17.2' 58.9 ER 49.927 −43.846 Up 6 Sun 10h 4m 2s +11° 51.9' 1.012 49.602 −43.411 Up 7 Moon 10h 4m 9s +12° 18.0' 58.9 ER 49.291 −45.547 Up 7 Sun 10h 4m 1s +11° 52.0' 1.012 48.936 −45.162 Up 8 Moon 10h 4m 1s +12° 18.5' 58.9 ER 48.883 −46.592 Up 8 Sun 10h 4m 0s +11° 52.0' 1.012 48.509 −46.236 Up 9 Moon 10h 3m 58s +12° 18.7' 58.9 ER 48.694 −47.064 Up 9 Sun 10h 4m 0s +11° 52.0' 1.012 48.311 −46.721 Up 10 Moon 10h 3m 59s +12° 18.6' 58.9 ER 48.780 −46.852 Up 10 Sun 10h 4m 0s +11° 52.0' 1.012 48.401 −46.503 Up equal, while condition fails at julian second 2457987.25933652 11 Moon 10h 4m 0s +12° 18.6' 58.9 ER 48.826 −46.735 Up 11 Sun 10h 4m 0s +11° 52.0' 1.012 48.450 −46.383 Up equal seconds is 2457987.25933652 This is preliminary data. If ER exists on a row, there must be a conversion to convert the previous value into AU (astronomical units). It will be a positive fraction, turning that 58.9 into somewhere near .05. So the ER's will disappear by means of perl. Otherwise, it needs to line up. I can readily discuss limits so as to establish fields. This will become typical line: 11 Sun 10h 4m 0s +11° 52.0' 1.012 48.450 −46.383 Up Is the printf specifier that is gonna make this align the same in C and Perl? Latest, cleanest perl caller here: https://github.com/TBlazer66/ephemeris/blob/master/3.triton.pl -- fred
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-04-30 04:36 -0700
Re: obtaining a c value from a perl script Noob <root@127.0.0.1> - 2017-04-30 14:48 +0200
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-01 02:25 -0700
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-01 08:46 -0700
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-03 02:12 -0700
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-03 11:48 +0100
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-04-30 16:16 +0100
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-01 04:18 -0700
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-01 13:41 +0100
Re: obtaining a c value from a perl script Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-03 05:10 -0700
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-03 15:00 +0100
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-03 08:55 -0700
Re: obtaining a c value from a perl script Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-03 09:02 -0700
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-03 17:22 +0100
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-08 01:43 -0700
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-08 09:06 -0700
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-09 00:35 -0700
Re: obtaining a c value from a perl script David Brown <david.brown@hesbynett.no> - 2017-05-09 13:59 +0200
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-08 02:45 -0700
Re: obtaining a c value from a perl script Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-08 04:39 -0700
solved Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-09 02:43 -0700
Re: solved Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-09 15:06 +0100
Re: solved Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-10 01:03 -0700
Re: solved Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 11:18 +0100
Re: solved Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-12 02:26 -0700
Re: solved Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-12 11:51 +0100
Re: solved Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-12 03:49 -0700
Re: solved Re: obtaining a c value from a perl script Manfred <invalid@invalid.add> - 2017-05-10 23:21 +0200
Re: solved Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-10 16:23 -0700
Re: solved Re: obtaining a c value from a perl script Robert Wessel <robertwessel2@yahoo.com> - 2017-05-11 15:57 -0500
Re: solved Re: obtaining a c value from a perl script Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-11 18:57 -0400
Re: solved Re: obtaining a c value from a perl script Robert Wessel <robertwessel2@yahoo.com> - 2017-05-11 18:38 -0500
Re: solved Re: obtaining a c value from a perl script Robert Wessel <robertwessel2@yahoo.com> - 2017-05-11 18:46 -0500
Re: solved Re: obtaining a c value from a perl script Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-11 21:11 -0400
Re: solved Re: obtaining a c value from a perl script Robert Wessel <robertwessel2@yahoo.com> - 2017-05-12 01:51 -0500
Re: solved Re: obtaining a c value from a perl script Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-14 23:49 -0400
Re: obtaining a c value from a perl script Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-09 07:46 -0700
Re: obtaining a c value from a perl script mark.bluemel@gmail.com - 2017-05-03 09:06 -0700
Re: obtaining a c value from a perl script gazelle@shell.xmission.com (Kenny McCormack) - 2017-05-03 17:02 +0000
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-08 01:51 -0700
Re: obtaining a c value from a perl script Manfred <noname@invalid.add> - 2017-05-04 18:21 +0200
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-08 03:52 -0700
Re: obtaining a c value from a perl script Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-08 08:38 -0400
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-08 09:14 -0700
Re: obtaining a c value from a perl script "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-08 12:17 -0400
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-08 09:26 -0700
Re: obtaining a c value from a perl script jameskuyper@verizon.net - 2017-05-08 11:02 -0700
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-08 11:39 -0700
Re: obtaining a c value from a perl script Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-09 07:16 -0700
Re: obtaining a c value from a perl script Keith Thompson <kst-u@mib.org> - 2017-05-09 08:18 -0700
Re: obtaining a c value from a perl script fred flintstone <fred@server.invalid> - 2017-05-10 00:29 -0700
Re: obtaining a c value from a perl script Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-10 05:26 -0700
Re: obtaining a c value from a perl script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-08 18:20 +0100
csiph-web