From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: SI units updated Date: Mon, 05 Nov 2018 14:10:07 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="87dc1aa778a8e6c4586d30e22352465b"; logging-data="31730"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yTX3ElTpi2ZBU5n7YMu7iwRsJ5KqRDGI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:Oz8u5uKOG4ugxbQDalbq0Ns1tow= sha1:bR4pV0+yv2pXRDJqeyjZVfVJHYc= Xref: reader02.eternal-september.org comp.lang.ada:54767 Date: 2018-11-05T14:10:07+00:00 List-Id: AdaMagica writes: > This is a package for computing with physical dimensions. Units are > given in strings (case sensitive). All symbols and prefixed as defined > in SI may be used. > > Unit syntax improved: 1.0*"W/(m*K)", the former "W/m/K" (very ugly) is > now illegal. > > http://www.christ-usch-grein.homepage.t-online.de/Ada/Dimension/SI.html test_checked_si_units failed; last few lines of output were kilogram 1.00000E-03*kg OK speed 1.00000E+00*m*s**(-1) OK raised TEST_CHECKED_SI_UNITS.SI.ILLEGAL_UNIT : checked_si-generic_strings-get_item.adb:85 instantiated at checked_si.adb:58 instantiated at test_checked_si_units.adb:59 Also, GNAT bug [R813-027 public] note in test_checked_si_math: bug is extant in GCC 9.0.0 20180927.