Added a C code printing method for the sign function.