[CLN-list] Types in cl_float
Isidro Cachadiña Gutiérrez
icacha at unex.es
Mon Sep 12 08:59:05 CEST 2005
Hi:
I miss a cl_float(long double x, cl_F ) definition to make the code below to
compile. The code compiles when A is defined as double.
-----------------------------------------------------------------------------
#include <iostream>
#include <cln/float.h>
#include <cln/float_io.h>
using namespace cln;
using namespace std;
int main(int argc, char **argv)
{
long double A;
A=1;
cl_F a;
float_format_t precision;
precision=float_format(100);
a=cl_float(A,precision);
cerr << a << endl;
}
---------------------------------------------------------------------------------------
--
***************************************************************************
* Dr. Isidro Cachadiña Gutiérrez *
* Departamento de Física *
* Facultad de Ciencias *
* Universidad de Extremadura *
* 06071 Badajoz ( SPAIN ) *
* email: icacha at unex.es *
* Teléfono: +34 924 289 300 Ext. 6826 Fax: +34 924 289 651 *
***************************************************************************
* Usuario Linux: 8569 *
* Para clave pública GnuPG: http://onsager.unex.es/firma.pub.asc *
***************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.cebix.net/pipermail/cln-list/attachments/20050912/3a4e8c9f/attachment.pgp
More information about the CLN-list
mailing list