passing floats to foo(,...)

Chris Torek chris at mimsy.UUCP
Mon Aug 7 14:53:27 AEST 1989


In article <9183 at chinet.chi.il.us> kdb at chinet.chi.il.us (Karl Botts) writes:
>Is there any reasonable way pass a single-precision float to a function
>taking a variable number of arguments?

Pass its address.  This is rather ugly, but completely portable.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.std.c mailing list