{"name": "q_vec_magnitude", "code": "double __fastcall q_vec_magnitude ( double * @@a1@@ ) { return sqrt ( @@a1@@ [ Number ] * @@a1@@ [ Number ] + * @@a1@@ * * @@a1@@ + @@a1@@ [ Number ] * @@a1@@ [ Number ] ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "double"}, "location": "r56"}]}
{"name": "q_vec_normalize", "code": "size_t __fastcall q_vec_normalize ( double * @@a1@@ , double * @@a2@@ ) { size_t @@result@@ ; double @@v3@@ ; @@v3@@ = q_vec_magnitude ( @@a2@@ ) ; if ( @@v3@@ < Number ) return fwrite ( String , Number , Number , stderr ) ; * @@a1@@ = * @@a2@@ * ( Number / @@v3@@ ) ; @@a1@@ [ Number ] = @@a2@@ [ Number ] * ( Number / @@v3@@ ) ; @@result@@ = ( size_t ) ( @@a1@@ + Number ) ; @@a1@@ [ Number ] = @@a2@@ [ Number ] * ( Number / @@v3@@ ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "double"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "double"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "double", "s": 8}, "location": "s8"}]}