Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
218 user(s) are online (56 user(s) are browsing Forums)

Members: 1
Guests: 217

Primax, more...

Support us!

Headlines

 
  Register To Post  

Floats with DebugPrintF
Just can't stay away
Just can't stay away


See User information
Is it possible to print floats with IExec->DebugPrintF()??
If so, then how? I have tried this:

float f = 0.1234;
IExec->DebugPrintF("f = %f\n", f);

...which just prints out "f = inf" on my PC...

Go to top
Re: Floats with DebugPrintF
Home away from home
Home away from home


See User information
They should work but are broken for some reason. I have a BZ open on it.


Go to top
Re: Floats with DebugPrintF
Amigans Defender
Amigans Defender


See User information
I took a look into this recently. I couldn't easily figure it all out but I hope to get back to it when I find some time.

In the mean time you'll need to snprintf() into a buffer, etc. Sorry for the inconvenience.

ExecSG Team Lead
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project