[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libitl-0.6.4 :A possible BUG? C# porting almost complete!
- To: "Development Discussions" <developer at arabeyes dot org>
- Subject: Re: libitl-0.6.4 :A possible BUG? C# porting almost complete!
- From: "Meor Ridzuan Meor Yahaya" <meor dot ridzuan at gmail dot com>
- Date: Fri, 31 Mar 2006 08:13:27 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VJcrObQ6mDHB+bjyQIqTEJZbMfJuIMBwmXDyCKtfbJeQv3rCHB4/1Yc+a1LuM6uoMlAvT0nbU9jE33vSsdjugwxNd66N5OpEklxchjjz6LWsmteUoGkDgsP8rXmTc/i6XovpPNpin/wF7E/vs8MnMIsmvfrLDLhh6YQpvtLUobY=
Thamer,
Thanks for the clarification.
About the other bug, could you tell me which file contains the bug?
This would make my job fixing the port much easier.
About the porting job, I will mail to you my work. It's up to you to
post it to arabeyes or not. One port that I'm very sure available on
the net is php port, which is done by the person maintain
islamprayertime.com . He made the source code available for download
from his site. Another thing is he provide the data for world cities
location. Quite an extensive list.
AS I mentioned in my ealier mail, my current port is a simple port of
the code. I did very minimal redesign of the program structure. Since
C# is a pure object oriented, certain things need to be done
differently, unlike C++. I will try to make the code better on terms
of object oriented design.
Salam.
On 3/30/06, Thamer Mahmoud <thamer at newkuwait dot org> wrote:
> Meor Ridzuan Meor Yahaya writes:
> > Dear All,
> >
> > I was working on porting libitl to C# to make it run on .net platform
> > . Right now I'm almost done with prayertime . I'll be working on hijri
> > date converter later.
> >
>
> While I could count almost 10 other ports of libitl, none of them are
> with us today ;-) Also, since I sometimes receive emails asking for
> such code, I think It's a good idea to have a well maintained port
> included within the ITL project (or somewhere to point others to).
>
> > During my work, I've found a possible bug. In astro.h, it has the
> > following definition:
> >
> > #define DEG_TO_RAD(A) (A * (PI/180.0))
> >
>
> Thanks, Meor, Tarik. The above is definitely a bug.
>
> The large difference in minutes is caused by another bug,
> however. That bug is not related to the missing parentheses problem,
> but it was only made hidden by it. I fixed both bugs, and now I can
> only see every-other-day differences of 1 minute compared to the 0.6.4
> release (it's actually a lot less than 1 minute, but I assume rounding
> to the nearest minute).
>
> Both bugs are now fixed in CVS. If you still see a large difference
> even after applying the fix, please provide some input/output numbers
> to allow me to reproduce it.
>
> Salaam and thanks,
> Thamer Mahmoud
>
>
>
>
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://lists.arabeyes.org/mailman/listinfo/developer
>