By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,260 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,260 IT Pros & Developers. It's quick & easy.

long double type in windows dll

P: n/a
Hi All,

I am trying to port some C++ libaries from Solaris to Windows to
create a dll. The library requires the use of long double data type
which is not supported by Microsoft Visual C++. Could anyone suggest
any other compiler that could do the job?

any suggestion would be much appreciated.

Thanks
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Karen Lau wrote in news:4f*************************@posting.google.co m:
Hi All,

I am trying to port some C++ libaries from Solaris to Windows to
create a dll. The library requires the use of long double data type
which is not supported by Microsoft Visual C++. Could anyone suggest
any other compiler that could do the job?

any suggestion would be much appreciated.


g++ (gcc) see: http://www.mingw.org/ for a windows version
also borland have tools set see:
http://www.borland.com/cbuilder/cppcomp/index.html

HTH

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Jul 19 '05 #2

P: n/a
> I am trying to port some C++ libaries from Solaris to Windows to
create a dll. The library requires the use of long double data type
which is not supported by Microsoft Visual C++.


Good news!!!! You are mistaken. It is supported.

Stephen Howe
Jul 19 '05 #3

P: n/a
On Wed, 6 Aug 2003 05:13:44 +0100, "Stephen Howe" <NO**********@dial.pipex.com> wrote:
I am trying to port some C++ libaries from Solaris to Windows to
create a dll. The library requires the use of long double data type
which is not supported by Microsoft Visual C++.


Good news!!!! You are mistaken. It is supported.


Depends what you mean. In MSVC 'long double' maps to 'double', i.e.
IEEE/IEC 64 bit. What's needed is probably the 80-bit format (which
is used at the hardware level for floating point computations),
although I don't see why the extra precision would be desirable.

Jul 19 '05 #4

P: n/a
> Depends what you mean. In MSVC 'long double' maps to 'double', i.e.
IEEE/IEC 64 bit. What's needed is probably the 80-bit format (which
is used at the hardware level for floating point computations)


I realise that. But the OP did not ask for IEEE 80-bit format for long
double.
She just said long double was not supported and I contradicted her.

Stephen Howe
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.