Hello,
>     I'm developing an application using OpenSSL math library BIGNUM.
> I'd like to make a division using the function BN_div(result, rest, a,
> b, ctx). However, this function return the result rounded towards
> zero. 
>  
>     Does OpenSSL offer a way to compute this division without round
> the result, with another funcion for example?
OpenSSL BIGNUM library operates on integers, if you want floating-point
functionality on big-numbers then you may use GNU multiprecision library
(gmp) which offers such operations (with type mpf_t).

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to