This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

functions returning double or float inspection


I have been experimenting with function that return doubles in gcc such as c = pow(x,y). They work OK and I can inspect the float/double c return value (as a pop-up or as a watch) and it is ok. But if I inspect pow(x,y) itself (highlighting the function call with the mouse or evaluating in a watch window or print /f pow(x,y) in the console) I see usually an integer value with no decimal or an incorrect real value. Is this a bug or am I doing something wrong when letting insight/gdb calculate a float/double function value?

-gene


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]