Thread
:
Why pow() is giving me this result?
View Single Post
03 July 2022, 10:24
#
3
jotd
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
Quote:
a: 11-5./0400.00
what is this output?
Check how pow is defined in your case. Is it returning a "float" or a "double"? if it returns a float, it's not going to end well with printf as %lf format is double (assigning in a double before hand solves the issue)
jotd
View Public Profile
Find More Posts by jotd
Page generated in
0.04291
seconds with
11
queries