[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] _itoa



On Tue, 22 Jun 1999, Keld Laursen wrote:
. . .

> . . . bc er som standard et
> heltals-regneprogram, men med en kommando kan man (i UNIX SYS V) sætte op
> til 100 cifre efter kommaet. Jeg er ikke umiddelbart klar over om Linux
> implementationen kan regne med større præcision.

Det ser ud til det :-). Om det giver mening eller ej skal jeg lade vaere
usagt.

 sslug@sslug bc -l
 bc 1.05
 Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation,
 Inc.
 This is free software with ABSOLUTELY NO WARRANTY.
 For details type `warranty'. 
 scale=1000
 4*a(1) /* a=atan */
 3.141592653589793238462643383279502884197169399375105820974944592307\
 81640628620899862803482534211706798214808651328230664709384460955058\
 22317253594081284811174502841027019385211055596446229489549303819644\
 28810975665933446128475648233786783165271201909145648566923460348610\
 45432664821339360726024914127372458700660631558817488152092096282925\
 40917153643678925903600113305305488204665213841469519415116094330572\
 70365759591953092186117381932611793105118548074462379962749567351885\
 75272489122793818301194912983367336244065664308602139494639522473719\
 07021798609437027705392171762931767523846748184676694051320005681271\
 45263560827785771342757789609173637178721468440901224953430146549585\
 37105079227968925892354201995611212902196086403441815981362977477130\
 99605187072113499999983729780499510597317328160963185950244594553469\
 08302642522308253344685035261931188171010003137838752886587533208381\
 42061717766914730359825349042875546873115956286388235378759375195778\
 18577805321712268066130019278766111959092164201988

Kunne man ikke bare aabne en pipe til bc? 

 mvh
Anders



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *