norm C code