[Top][All Lists]

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

Calcuating with numbers above of 1000000000

From: Fabian Foerster
Subject: Calcuating with numbers above of 1000000000
Date: Wed, 24 Jul 2002 20:06:01 +0200

Configuration Information:
Machine: i386
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-2.05
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i386-suse-linux' -DCONF_VENDOR='suse' 
-DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I. -I/usr/include -I. 
-I./include -I./lib -I/usr/include -O2 -march=i486 -mcpu=i686 -D_GNU_SOURCE 
-Wall -pipe
uname output: Linux fabian 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i586 
Machine Type: i386-suse-linux

Bash Version: 2.05
Patch Level: 0
Release Status: release

        I wanted to write a script that makes it possible to create extremly 
        numbers. That wasn't possible to me because, I think, the bash cannot 
        handle numbers above of 1000000000.

        Two simple trials:
          `expr 1 \* 1000000000`        output: 1000000000
          `expr 1 \* 10000000000`       output: 1410065408

reply via email to

[Prev in Thread] Current Thread [Next in Thread]