comparison mm7_1.cpp @ 1459:2ca62c9e7b3c

Function names
author Nomad
date Wed, 21 Aug 2013 16:06:50 +0200
parents 2754f373a8b3
children a109bb203e28
comparison
equal deleted inserted replaced
1458:934074e7fcc1 1459:2ca62c9e7b3c
57 int fixpoint_mul(int a1, int a2) 57 int fixpoint_mul(int a1, int a2)
58 { 58 {
59 return (((__int64)a1 << 16) * a2) >> 16; 59 return (((__int64)a1 << 16) * a2) >> 16;
60 } 60 }
61 61
62
63 //----- (0042EBBE) --------------------------------------------------------
62 //----- (004453C0) mm6----------------------------------------------------- 64 //----- (004453C0) mm6-----------------------------------------------------
63 //----- (004A1760) mm6_chinese--------------------------------------------- 65 //----- (004A1760) mm6_chinese---------------------------------------------
64 int fixpoint_sub0(int a1, int a2) 66 int fixpoint_sub0(int a1, int a2)
65 { 67 {
66 return ((__int64)a1 * (__int64)a2) >> 16; 68 return ((__int64)a1 * (__int64)a2) >> 16;