CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] linux box

on 2002-04-14 19:03:01 UTC
Bat,

Yeah, you can do that, but intA = (int)(float0/float1); would be
better! A little cast goes a long ways, and I'll bet it's portable!
EMC no doubt uses casts. It's just good programming, even if the
compiler will "fix it up" for you!

Alan KM6VV

batwings@... wrote:
>
> At 03:03 PM 4/14/02 -0500, you wrote:
> >There are a few things that MS and its Borland version do that simply don't
> >work in the gnu or ecgs world of C compiling.
>
> No doubt, and automatic type promotion must be one of them. In Borland you
> can use expression where int = float0/float1, and you will get an int out
> of the two floats, no fuss no bother. In the KDE IDE at hand, you get a
> warning, and no output ... compiler won't even let you set a variable =
> NULL w/o bitchin'.
>

Discussion Thread

Marty Escarcega 2002-04-11 16:40:08 UTC FS: Bridgeport CNC Mill, Tempe, AZ batwings@i... 2002-04-11 19:32:18 UTC linux box Bill Vance 2002-04-11 20:22:59 UTC Re: [CAD_CAM_EDM_DRO] linux box Brian Pitt 2002-04-11 20:56:28 UTC Re: [CAD_CAM_EDM_DRO] linux box Stan Stocker 2002-04-11 20:59:46 UTC Re: [CAD_CAM_EDM_DRO] linux box Jon Elson 2002-04-11 23:48:13 UTC Re: [CAD_CAM_EDM_DRO] linux box batwings@i... 2002-04-12 04:51:55 UTC Re: [CAD_CAM_EDM_DRO] linux box Matt Shaver 2002-04-12 08:00:53 UTC Re: [CAD_CAM_EDM_DRO] linux box batwings@i... 2002-04-12 19:16:53 UTC Re: [CAD_CAM_EDM_DRO] linux box Jon Elson 2002-04-12 22:48:55 UTC Re: [CAD_CAM_EDM_DRO] linux box Ray Henry 2002-04-13 12:12:04 UTC Re: Re: linux box batwings@i... 2002-04-14 03:51:06 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: linux box Brian Pitt 2002-04-14 12:03:21 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: linux box Ray Henry 2002-04-14 13:03:43 UTC Re: Re: Re: Re: linux box batwings@i... 2002-04-14 18:41:16 UTC linux box batwings@i... 2002-04-14 18:41:16 UTC linux box Alan Marconett KM6VV 2002-04-14 19:03:01 UTC Re: [CAD_CAM_EDM_DRO] linux box batwings@i... 2002-04-15 04:51:37 UTC Re: [CAD_CAM_EDM_DRO] linux box Alan Marconett KM6VV 2002-04-15 11:58:07 UTC Re: [CAD_CAM_EDM_DRO] linux box batwings@i... 2002-04-16 20:13:14 UTC intersting day Bill Vance 2002-04-16 21:55:27 UTC Re: [CAD_CAM_EDM_DRO] intersting day Jon Elson 2002-04-16 22:59:53 UTC Re: [CAD_CAM_EDM_DRO] intersting day Brian Pitt 2002-04-16 23:28:33 UTC Re: [CAD_CAM_EDM_DRO] intersting day n4onl 2002-04-17 02:19:34 UTC Re: intersting day batwings@i... 2002-04-17 06:36:33 UTC thanx Ray Henry 2002-04-17 07:07:02 UTC Re: intersting day batwings@i... 2002-04-17 11:43:13 UTC curve fitting Bill Vance 2002-04-17 12:41:19 UTC Re: [CAD_CAM_EDM_DRO] thanx Unterhausen Umberto 2002-04-17 13:47:55 UTC Re: thanx batwings@i... 2002-04-18 04:47:07 UTC Re: [CAD_CAM_EDM_DRO] thanx batwings@i... 2002-04-18 11:19:18 UTC Re: [CAD_CAM_EDM_DRO] Re: intersting day Bill Vance 2002-04-18 11:45:14 UTC Re: [CAD_CAM_EDM_DRO] thanx Jon Elson 2002-04-19 01:56:01 UTC Re: [CAD_CAM_EDM_DRO] thanx Paul 2002-04-19 02:50:28 UTC Re: [CAD_CAM_EDM_DRO] Realtime and EMC (was intersting day) ballendo 2002-04-19 06:52:53 UTC Re: curve fitting imserv1 2002-04-19 08:22:52 UTC Re: curve fitting batwings@i... 2002-04-19 16:51:34 UTC Re: [CAD_CAM_EDM_DRO] Re: curve fitting batwings@i... 2002-04-20 16:58:58 UTC Re: [CAD_CAM_EDM_DRO] thanx Bill Vance 2002-04-20 19:46:56 UTC Re: [CAD_CAM_EDM_DRO] thanx batwings@i... 2002-04-21 04:43:25 UTC Re: [CAD_CAM_EDM_DRO] thanx Jon Elson 2002-04-21 10:13:51 UTC Re: [CAD_CAM_EDM_DRO] thanx Bill Vance 2002-04-21 10:34:58 UTC Re: [CAD_CAM_EDM_DRO] thanx Ray Henry 2002-04-21 13:30:00 UTC Re: Re: thanx batwings@i... 2002-04-22 05:16:16 UTC Re: [CAD_CAM_EDM_DRO] thanx