[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911916: marked as done (x11-apps: xcacl won't divide correctly on buster)



Your message dated Fri, 26 Oct 2018 11:22:29 +0200
with message-id <87lg6lvz8q.fsf@turtle.gmx.de>
and subject line Re: Bug#911916: x11-apps: xcacl won't divide correctly on buster
has caused the Debian Bug report #911916,
regarding x11-apps: xcacl won't divide correctly on buster
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
911916: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911916
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-apps
Version: 7.7+7
Severity: important

Dear Maintainer,

I was trying to calculate how much carfentanil I needed, and when I tried
0.2/5000 I got the result 4e-05




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), LANGUAGE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages x11-apps depends on:
ii  libc6        2.27-6
ii  libpng16-16  1.6.34-2
ii  libsm6       2:1.2.2-1+b3
ii  libx11-6     2:1.6.7-1
ii  libxaw7      2:1.0.13-1+b2
ii  libxcursor1  1:1.1.15-1
ii  libxext6     2:1.3.3-1+b2
ii  libxft2      2.3.2-2
ii  libxkbfile1  1:1.0.9-2
ii  libxmu6      2:1.1.2-2
ii  libxmuu1     2:1.1.2-2
ii  libxrender1  1:0.9.10-1
ii  libxt6       1:1.1.5-1
ii  man-db       2.8.4-2+b1
ii  zlib1g       1:1.2.11.dfsg-1

Versions of packages x11-apps recommends:
ii  xbitmaps  1.1.1-2

Versions of packages x11-apps suggests:
pn  mesa-utils  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On 2018-10-26 08:21 +0200, Per Gunnarsson wrote:

> Package: x11-apps
> Version: 7.7+7
> Severity: important
>
> Dear Maintainer,
>
> I was trying to calculate how much carfentanil I needed, and when I tried
> 0.2/5000 I got the result 4e-05

Which is correct: 0.2/5000 is 0.00004 or 4 * 10^(-5).  You get the same
result in other programs, e.g.

$ python -c 'print (0.2/5000)'
$ echo | awk '{print 0.2/5000}'
$ perl -e 'print 0.2/5000; print "\n"'

They probably all use the "%g" format of the printf(3) family:

,----
|  g, G   The double argument is converted in style f or e (or F or E
|         for G conversions).  The precision specifies the number  of
|         significant  digits.  If the precision is missing, 6 digits
|         are given; if the precision is zero, it is  treated  as  1.
|         Style e is used if the exponent from its conversion is less
|         than -4 or greater than or equal to the precision.
`----

Cheers,
       Sven

--- End Message ---

Reply to: