|
|
| 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/
|
|
|
|