|
From: Ayodele T. <em...@st...> - 2003-10-28 07:43:02
|
I am trying to print out some stats from my skin using VG_(printf) that
include floats. But when I try to use %f, %e, or %g, nothing prints. Is
Valgrind capable of printing floats using the included VG_(...) functions?
(i.e.)
float val = 0.5;
VG_(printf)("P: %f ", val);
outputs ---> P:
expected ---> P: 0.5
Also, has anyone tried implementing VG_(fprintf)? I need the ability to
print different stats to different files.
Ayo
--
---------------------------------------------------------------
Ayodele Bolaji Thomas "Joy in the Morning"
Ph.D. Candidate Electrical Engineering
Computer Systems Laboratory
Stanford University
Ayo...@st...
Support our troops. Support our country. Pray for Peace. \o/
"We succeed, not because of Affirmative Action, but in spite of
the conditions that make it necessary" (ABE '98)
"War may sometimes be a necessary evil. But no matter how necessary,
it is always an evil, never a good. We will not learn to live
together in peace by killing each other's children." Jimmy Carter '02
---------------------------------------------------------------
|