X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=idJMjwEc3w2vQ15vjkgsAT1ncS8X41a7CQj6D8BnZjw=; b=wJ6S6fMcKHMfRuBJFw4qc8KiKxAbqUyWYGhvslNgYtUKQzWfmd+psjAzzSDLcDcga8 y0+gNmvLAZoxjqTDn3vnBmXDMZ1wMZRB7FkE8apt2qAKbT+k3jU9cIFMv2aXR/wD6Q5S +4OZr4zgK2VWXUHCAXx5HR6GRbiiJYBzeX2NBRGUJO/nQ0YQe/+R1jIYvvRoZ7oKLvKG cyoEQUCBzXmfAI+iiN6AUV+58vWXzexdH7j9Cw2m5FvOhjCsqASR4NLnWCvC4xg1ZdPH A4+RhNGlrWM8qg78M+xgA7HQA8Ke+opd3sl3FBKEHD3KuHtXe0reZOKqwe8CIbzmNKqX ms+Q== MIME-Version: 1.0 In-Reply-To: <20121211080047.579C482204B7@turkos.aspodata.se> References: <20121116030224 DOT 5c7750ee AT akka> <201211160225 DOT qAG2PrVD005630 AT envy DOT delorie DOT com> <20121116035513 DOT 14519 DOT qmail AT stuge DOT se> <201211160357 DOT qAG3vUXo017504 AT envy DOT delorie DOT com> <20121116041216 DOT 16057 DOT qmail AT stuge DOT se> <201211160428 DOT qAG4Sh3h018631 AT envy DOT delorie DOT com> <20121117163351 DOT 14988 DOT qmail AT stuge DOT se> <5C6FC5CD-A358-476D-A8CA-C9AF2E72A914 AT noqsi DOT com> <20121117185520 DOT 25698 DOT qmail AT stuge DOT se> <9C626D0F-7D63-4FBE-8D63-37A2FFAD96FE AT noqsi DOT com> <71EA2CF8-8F64-4A51-B7C4-5F26EE8F4088 AT noqsi DOT com> <20121119182107 DOT 98F08813BDB7 AT turkos DOT aspodata DOT se> <4F02B9C0-5C7A-4C7B-A23C-C99285C4CFFB AT noqsi DOT com> <20121124171912 DOT D4F46813BDCB AT turkos DOT aspodata DOT se> <20121211080047 DOT 579C482204B7 AT turkos DOT aspodata DOT se> Date: Tue, 11 Dec 2012 08:49:15 -0500 Message-ID: Subject: Re: [geda-user] Translating SI notation to SPICE From: Evan Foss To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qBBDnJja007153 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I don't like that because it would mean 4.7u/F which looks so wrong. Besides there are people who do math in gschem and that use of the division symbol would be a mess for them. Multiplication would be ok if not ugly. I know mathcad does it that way. On Tue, Dec 11, 2012 at 3:00 AM, Karl Hammar wrote: > Evan Foss: >> For the over bar on things we have the \_ what if we declared \S to >> delineate the part of the attribute that is the scale? Alternatively >> we could go the mathcad route and put a multiplication sight between >> the scale and the units but I think that looks ugly. > > Why not write it as an engineer/scientist would do it? > E.g. 10 Hz, 10Hz, 10 1/s, 15 A/V, 25 m/s2, 2e-4mmol, 3 km/ms, 3 V/As ... > > It cannot be that hard to parse that, something like: > > value : number dimension > dimension : tdimension | tdimension "/" tdimension > tdimension : "" | "1" | prefix unit | tdimension sep tdimension | > tdimension exponent | "(" tdimension ")" exponent > sep : " " | "*" > > Regards, > /Karl Hammar > > ----------------------------------------------------------------------- > Aspö Data > Lilla Aspö 148 > S-742 94 Östhammar > Sweden > +46 173 140 57 > > -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/