delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/12/11/10:44:09

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=uOsbHAojgXKtb6DmynkIAnjT/JWuD8BPWtU1kIrvdRU=;
b=VRKSVdpqUgn/etB9GvRLkwWLAxO5AGTsGWMRQDNPLFVfoyDXPLJ2gnyU++H+JhXn8f
7poJTejzE09vqtXZX93Wdmsitxix96GlB511wrmTGM6xsFJRx5H+XFu5+DpScH/a4YPg
enrX6y8a/OaSYvLVC9oq3XNZD6ox4jT2/pyWnSOGP9SSTkZZvLfhIQdH5on4LN6SSOHR
UK737PE2zqtzVbjNx+Z3tEGzOuITtXnMp4yYKAxn2beep/S+37ShHa3RuLlfesICfOXT
ZC3Dy6Mn7Qox3ZmZfcBN5sd853aJ5jO0KdZc21FvBSHoqvMxoCcsCZGM/ZlBMMBHEiYa
peEw==
MIME-Version: 1.0
In-Reply-To: <20121211141724.0770382204BC@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>
<llhhn9x25t DOT ln2 AT skate DOT rswarbrick>
<k88cd4$3i2$1 AT ger DOT gmane DOT org>
<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>
<E2A7C157-E0AB-437B-B8FD-1DA96C64AF39 AT noqsi DOT com>
<k89b87$fip$1 AT ger DOT gmane DOT org>
<B8C80ED4-E795-41D2-9D76-513A7D09666C AT noqsi DOT com>
<k8bv02$1ca$1 AT ger DOT gmane DOT org>
<9C626D0F-7D63-4FBE-8D63-37A2FFAD96FE AT noqsi DOT com>
<CAM2RGhQXd_-f3AD2W0iNTvbUU0o8O727f0sR=vkEjC-zg0PmVw AT mail DOT gmail DOT com>
<71EA2CF8-8F64-4A51-B7C4-5F26EE8F4088 AT noqsi DOT com>
<CAM2RGhR3tC52C8Jj9171a5xogwPy9PA_6DrOBF=F3742cbvAhg AT mail DOT gmail DOT com>
<CAM2RGhRPE5YpB4p6hBbZwUE-DF4vdMCn-UoZONe9bNPHX+FN-Q AT mail DOT gmail DOT com>
<D904E454-596B-4B02-82B6-0CA2EC854690 AT noqsi DOT com>
<20121119182107 DOT 98F08813BDB7 AT turkos DOT aspodata DOT se>
<4F02B9C0-5C7A-4C7B-A23C-C99285C4CFFB AT noqsi DOT com>
<CAM2RGhT1dSepoZA=VN0oetb20PTitw1=UhvLyXtS=xmJz_kO3g AT mail DOT gmail DOT com>
<20121124171912 DOT D4F46813BDCB AT turkos DOT aspodata DOT se>
<CAM2RGhTFb=WJOYq+cd426oeyFEGrZPQsn7f4mc1UowdSdabHYw AT mail DOT gmail DOT com>
<CAM2RGhTyEC1i+OE1xWMm6hcLYO-hAEuETfe8T7z6Q5DJVK-uxw AT mail DOT gmail DOT com>
<20121211080047 DOT 579C482204B7 AT turkos DOT aspodata DOT se>
<CAM2RGhSw9PLVoGFQGWmC17ZrBuZAy=24NE2O5A8Bm6Ar6ONJtA AT mail DOT gmail DOT com>
<20121211141724 DOT 0770382204BC AT turkos DOT aspodata DOT se>
Date: Tue, 11 Dec 2012 10:42:25 -0500
Message-ID: <CAM2RGhRvmDP2NjKwbR=Ph8e_X+mNW8aww-JBqcjWaTMLLjPDVA@mail.gmail.com>
Subject: Re: [geda-user] Translating SI notation to SPICE
From: Evan Foss <evanfoss AT gmail DOT com>
To: geda-user AT delorie DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qBBFgVJg015698
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

What if someone actually wants to write km/s as in kilo meters per second?

On Tue, Dec 11, 2012 at 9:17 AM, Karl Hammar <karl AT aspodata DOT se> wrote:
> --------
> Evan Foss:
>> On Tue, Dec 11, 2012 at 3:00 AM, Karl Hammar <karl AT aspodata DOT se> wrote:
> ...
>> > 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 : " " | "*"
>
>> I don't like that because it would mean 4.7u/F which looks so wrong.
>
> What "would mean 4.7 u/F"? That wouldn't be legal since a prefix must be
> followed by a unit by the above rule-sort-of.
>
>> Besides there are people who do math in gschem and that use of the
>> division symbol would be a mess for them.
>
> I don't understand that reasoning, people doing math don't have any
> problem with divisions. The problem is to handle any attached units
> at all.
>
>> Multiplication would be ok
>> if not ugly.
>
> So you accept * but not / ?
> You need the / thing if you want V/m or do you rather want to write
> it Vm-1.
>
>> I know mathcad does it that way.
>
> Sorry, I don't know mathcad, I cannot comment on that.
>
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019