dukeleto

brook+ truncates double declarations

Discussion created by dukeleto on Jun 26, 2008
Latest reply on Jun 27, 2008 by dukeleto
declaring a double does not work properly

Hello,
upon comparing cpp issued from the brook+ "compilation" of a .br,
it appears that double declarations are truncated to floats:

for a .br that contains something like this:

int main{

...
double test = 0.1234567898765;

...
}


the .cpp will have something like this:

int main{

...
double test = 0.123456;

...
}



This is a serious problem for me! Is there a declaration method that avoids this?
Thanks

Outcomes