dereferenced
Ars Scholae Palatinae
Sounds like you don't have any function prototypes declared in part1.c for the functions defined in part2.c Without the prototypes in scope the compiler assumes the functions return int and since they are returning float you get bogus results. Try putting the prototypes in part2.h and #include that in part1.c