Skip to content

Commit

Permalink
delelte an unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
HonestDeng committed Sep 8, 2023
1 parent e622d66 commit 10e6939
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/simplemath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,21 +673,6 @@ float erfcf(float x)
* ====================================================
*/

int msb(unsigned int v)
{
static const int pos[32] = {0, 1, 28, 2, 29, 14, 24, 3,
30, 22, 20, 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19,
16, 7, 26, 12, 18, 6, 11, 5, 10, 9
};
v |= v >> 1;
v |= v >> 2;
v |= v >> 4;
v |= v >> 8;
v |= v >> 16;
v = (v >> 1) + 1;
return pos[(v * 0x077CB531UL) >> 27];
}

float fmaf(float x, float y, float z)
{
float tmp = x * y;
Expand Down

0 comments on commit 10e6939

Please sign in to comment.