[Proj] Geo Transfoms and calculations

Till till at free.fr
Tue Dec 30 15:28:00 EST 2008


Thanks all for your feedback.

I have to admit I'm far above most of this considerations, and I fully trust
you on that side.
My first concern yet is to be able to properly compile libproj4, which I
failed to do because of my lack of knowledge in manipulating makefiles that
are not readable by the M$ 'nmake' tool.


-----Message d'origine-----
De : proj-bounces at lists.maptools.org
[mailto:proj-bounces at lists.maptools.org] De la part de Eric Miller
Envoyé : mardi 30 décembre 2008 20:00
À : geraldi.evenden at gmail.com; proj at lists.maptools.org
Objet : Re: [Proj] Geo Transfoms and calculations

Microsoft claims there is no market demand for C99.  However, they have
implemented some parts they've decided are useful.  Not enough in my book.

They're really pushing their CLR platform and associated languages and tools
(C#, VB.Net, F#, whatever).  I guess Visual C doesn't make enough money for
them.

>>> On 12/30/2008 at 10:24 AM, "Gerald I. Evenden"
<geraldi.evenden at gmail.com>
wrote:
> On Tuesday 30 December 2008 12:39:57 pm Eric Miller wrote:
>> You need only a minor modification to Gerald's libproj4 to compile on
>> windows.  Because Microsoft is lame, their math library does not include
>> atanh (or asinh or acosh).
> 
> That's incredible!  H&S indicate these are C99 so that may be part of the 
> reason.  But still ... it is almost 09.  It just shows that nobody in 
> Redmond 
> got beyond 4th grade math ... oops, arithmatic.
> 
>> Previously, I overcame this by building in a naive implementation of
>> atanh as:
>>
>> double atanh( double x )
>> {
>> 	return log((1 + x)/(1 - x))/2;
>> }
>>
>> Since Gerald has since embraced the GSL, maybe we can get him to use
>> the GSL versions of those functions and let the GNU folks handle
>> platform compatibility.
> 
> I use MIT which is apparently tolerated by GSL but I don't want to get
into 
> that can of ugly  worms.  Besides, I do not have the libm source anyway.  
> Kinda brings up a point: isn't gcc and library under GSL so that nobody
can 
> distribute a binary that uses the library without the associated BS?
> 
> All of the equivalent forms, like above, ought to be available in math 
> references on the Internet (just google 'atanh') or in Abramowitz(sp.).
> Put the code into gatesmath.c and gatesmath.h and attach to the Makefile 
> lists.  ;-) NO, NO! Don't answer that!  No more discussion on this
subject!
> 
> I'm sorry, but it is crap like that that makes me have such a loathesome 
> opinion of M$.
>  ...

_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj



More information about the Proj mailing list