The last time I checked, dc is only a front-end for bc. It seems odd to me
that dc can work correctly if bc is broken...

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of J.P. King
> Sent: Monday, March 04, 2002 8:45 AM
> To: [EMAIL PROTECTED]
> Subject: Solaris bc
>
>
>
> (Reference, I am looking at the 'failed' test given by make test, and
>  the 'bctest' script)
>
> Hi,
>
> I do not claim to understand the cryptography, and probably most of the
> maths involved, but I am puzzled as to why bc being 'broken' is an issue?
>
> Not least of all since you have dc which appears to work:
>
> draco$ dc << EOF
> >
> AD88C418F31B3FC712D0425001D522B3AE9134FF3A98C13C1FCC1682211195406C
> 1A6C66C6A\
> >
> CEEC1A0EC16950233F77F1C2F2363D56DD71A36C57E0B2511FC4BA8F22D261FE2E
> 9356D99AF57\
> >
> 10F3817C0E05BF79C423C3F66FDF321BE8D3F18F625D91B670931C1EF25F28E489
> BDA1C5422D1\
> >
> C3F6F7A1AD21585746ECC4F10A14A778AF56F08898E965E9909E965E0CB6F85B51
> 4150C644759\
> >
> 3BE731877B16EA07B552088FF2EA728AC5E0FF3A23EB939304519AB8B60F2C33D6
> BA0945B66F0\
> > 4FC3CADF855448B24A9D7640BCF473Esa
> >
> DCE91E7D120B983EA9A104B5A96D634DD644C37657B1C7860B45E6838999B3DCE5
> A555583C6\
> >
> 9209E41F413422954175A06E67FFEF6746DD652F0F48AEFECC3D8CAC13523BDAAD
> 3F5AF4212BD\
> >
> 8B3CD64126E1A82E190228020C05B91C8B141F1110086FC2A4C6ED631EBA129D04
> BB9A19FC53D\
> > 3ED0E2017D60A68775B75481449sb
> > la lb / lb * la lb % + la - p
> > EOF
> 0
> draco$ uname -srvmpi
> SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
>
>
> Personally I would use dc in preference to bc for all scripted use anyway.
>
> I imagine that I am missing something here, of course, but it did
> seem worth mentioning in case I wasn't.
>
> This only came up because someone was concerned about compiling something
> (OpenSSH) which relied on compiling your library first.
>
> Cheers,
>
> Julian
> --
> Julian King
> Computer Officer, University of Cambridge, Unix Support
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to