I'm relatively new to programming in C, and i have some questions if I may.
as i understood, log(q) for example will return a value of double nature with q being double as well, but i noticed i can use q as a floating variable, what difference is there is from using logf(q) or log(q) where q is a floating variable, what will happen if i'm using complex variables ? is this difference is the same between clog(q) and clogf(q) where q is complex floating variable ?
finaly am i allowed to define a fucntion for example:
where q is a real floating variable ?Code:complex float example(q) { float q; }