Package: wcalc
Version: 2.4-1+b1
Severity: normal
A result from a too large number:
echo '8!^7!^6!' | wcalc -E -P0 ; echo $?
= @Inf@
0
The cryptic result isn't in the man page, at first I thought
"@Inf@" was an error message or coding bug; I eventually inferred
that "@Inf@" was shorthand for "Infinity".
An experiment with the above result:
echo '@i...@-@Inf@' | wcalc -E -P0 ; echo $?
= @NaN@
0
"Not a Number" maybe. Anyway the above results & behavior ought to be
documented.
(Love the easy and intuitive syntax of this program!)
Hope this helps...
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages wcalc depends on:
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii libmpfr4 3.0.0-2 multiple precision floating-point
ii libreadline5 5.2-7 GNU readline and history libraries
wcalc recommends no packages.
wcalc suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]