You are not logged in.

#1 2007-05-26 18:38:36

defcon
Member
From: Germany, Bruchsal
Registered: 2006-08-16
Posts: 177

Whats up with bc (i686)?

hi guys
whats up with bc on i686?

time echo "scale=3000; 4*a(1)" | bc -l

shows you PI with 3000 chars after coma.

output on i686:

$ time echo "scale=3000; 4*a(1)" | bc -l

real    0m0.018s
user    0m0.000s
sys     0m0.004s

output on 64bit:

$ time echo "scale=3000; 4*a(1)" | bc -l
3.141592653589793238462643383279502884197169399375105820974944592307\
[....]

real    0m28.595s
user    0m28.574s
sys     0m0.016s

The time (on i686) is non realistic, and where is the output?
Is it a bug?

greets


Registed Linux User 608596

Offline

#2 2007-05-27 05:46:31

shinlun
Member
From: Taipei, Taiwan
Registered: 2007-05-16
Posts: 61

Re: Whats up with bc (i686)?

I had exactly the same situation with you on i686.
Makepkging bc from the source solved the problem for me, just don't know why.

Offline

#3 2007-05-27 08:21:42

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Whats up with bc (i686)?

bugs.archlinux.org

Offline

#4 2007-05-27 11:37:31

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: Whats up with bc (i686)?

Offline

Board footer

Powered by FluxBB