May we use math.h in Assignment 4?

55 views
Skip to first unread message

Ryan Tio

unread,
Nov 10, 2020, 1:48:33 AM11/10/20
to cmpt-295-sfu
SFU ID: rt...@sfu.ca
Github username: N/A
Github: N/A
Line and file: N/A 
Expected behavior: N/A
Observed behavior: N/A
Question: May we use math.h functions in our assignment 4? I want to use the log function.

Arrvindh Shriraman

unread,
Nov 10, 2020, 4:55:15 PM11/10/20
to cmpt-295-sfu
No; cause then we have to link against -lm. 
We can't guarantee lib math is installed.

You shouldn't have to.
Reply all
Reply to author
Forward
0 new messages