Unix Programming - ABOUT bc command

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > August 2007 > ABOUT bc command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ABOUT bc command
mukesh tiwari

2007-08-16, 7:20 am

Hello everybody
i want your help about unix bc command. i found this very helpful
for arbitrary precision calculataion and i want to see the code and
algortihm used in bc language . i also want to impliment my own
arbitrary precision library for addition subtraction multiplication
division root extraction exponention and modulas operation which i
can used it again and again in C programs so plz help me .

Jens Thoms Toerring

2007-08-16, 7:20 am

mukesh tiwari <mukeshtiwari.iiitm@gmail.com> wrote:
> i want your help about unix bc command. i found this very helpful
> for arbitrary precision calculataion and i want to see the code and
> algortihm used in bc language .


You can download the sources for bc from

http://ftp.gnu.org/pub/gnu/bc/bc-1.06.tar.gz

> i also want to impliment my own
> arbitrary precision library for addition subtraction multiplication
> division root extraction exponention and modulas operation which i
> can used it again and again in C programs so plz help me .


How are we supposed to help you? Perhaps it helps you to know
that you don't have to write your own library for arbitrary
precision calculations since others already done that and are
even prepared to give it to you including the source code. You
can download e.g. the GNU Multiple Precision Arithmetic Library
called GMP from

http://gmplib.org/
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Gianni Mariani

2007-08-16, 7:24 pm

mukesh tiwari wrote:
> Hello everybody
> i want your help about unix bc command. i found this very helpful
> for arbitrary precision calculataion and i want to see the code and
> algortihm used in bc language . i also want to impliment my own
> arbitrary precision library for addition subtraction multiplication
> division root extraction exponention and modulas operation which i
> can used it again and again in C programs so plz help me .
>


see:
http://gmplib.org/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com