From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: <13426df10808052014q1f6931epdddd339fb86f860f@mail.gmail.com> Date: Tue, 5 Aug 2008 23:22:00 -0400 References: <20080805234021.947DD1E8C47@holo.morphisms.net> <13426df10808052014q1f6931epdddd339fb86f860f@mail.gmail.com> Subject: Re: [9fans] float.h Topicbox-Message-UUID: fbec4b18-ead3-11e9-9d60-3106f5b1d025 On Aug 5, 2008, at 11:14 PM, ron minnich wrote: > I'm so confused. Why don't you just show the code. > > ron > #include ... #include ... static struct{ char *name; double value; }constants[] = { ... "MIN", DBL_MIN, "MAX", DBL_MAX, "EPSILON", DBL_EPSILON, ... }; I'm actually writing a calculator that will take advantage of several features of Plan 9 (Runes, libgeometry, etc.) and I'd like to make these available.