bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] About GSL


From: Guillaume Gomez
Subject: [Bug-gsl] About GSL
Date: Tue, 2 Sep 2014 18:01:30 +0200

Hello,

I'm currently binding the GSL into Rust (when this part is finished, I'll
try to totally port the code). You can follow the development on github on
this link if you want : https://github.com/GuillaumeGomez/rust-GSL

But here's what's made contact you : while I was looking at the source, I
saw that sometimes, you use code like that :

int n;
if (n % 2 == 0)

Why this instead of :

int n;
if (n & 1 == 0)

? The second way is a little faster if I'm not wrong.

Another thing : for example in the function gsl_integration_qawc, there is
a little mistake in an error message :

"tolerance cannot be acheived with given epsabs and epsrel". Acheived
should be achieved if I'm not wrong.

Thanks in advance for you answer.

Cordially.

-- 
*web CV : www.guillaume-gomez.fr <http://www.guillaume-gomez.fr>*
*portable: +33 6 21 92 31 88*


reply via email to

[Prev in Thread] Current Thread [Next in Thread]