Subject: bc: No check for wrong numbers according to ibase Package: bc Version: 1.06-20 Severity: normal
When changing ibase, the following inputs are not checked if they are valid: [EMAIL PROTECTED] >bc ibase=2 3 3 4 4 5 5 a=7 a 7 This makes the following error very hard to understand: [EMAIL PROTECTED] >bc ibase=2 obase=16 100 11 Now explain this ;) If I would get an error when entering obase=16 everything would be clear. (Explanation: it seems that obase=16 is interpreted as obase=11b =3d. So 100b (=4d) is 11 base 3...) -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages bc depends on: ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand ii libreadline5 5.2-2 GNU readline and history libraries bc recommends no packages. -- no debconf information Mit freundlichen Grüßen Markus Grunwald Softwareentwicklung PRÜFTECHNIK Condition Monitoring GmbH Oskar-Messter-Straße 19-21 85737 Ismaning www.pruftechnik.com Tel: +49 (0)89 99616177 Fax: +49 (0)89 99616200 PRÜFTECHNIK Condition Monitoring GmbH Sitz Ismaning / HRB 145655 München Geschäftsführer: Johann Lösl Ein Unternehmen der PRÜFTECHNIK-Gruppe

