Commit Graph

5 Commits

Author SHA1 Message Date
Jan Engelhardt
b7b2f1e9aa Delete unused fixed math functions
gcc warns about strict aliasing violations in fix.cpp:

fix/fix.cpp: In function "int FloatRound(float)":
fix/fix.cpp:157:14: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
  157 |   return ((*((int *)&nf)) & 0x7FFFFF) - 2048;

But these functions and then some are unused, so delete them altogether.
2024-09-09 12:55:27 +02:00
JeodC
a4ab78192c Join license header with historical commentrs
Join the license header with historical comments using a separator so IDEs can correctly parse the initial header.

Also use .gitattributes to ensure all files are LF.
2024-05-08 14:41:19 -04:00
Azamat H. Hackimov
48a97dec38 Fix warnings in fix library
Fix most of "narrowing conversion" warnings.
2024-05-03 16:22:35 -04:00
Azamat H. Hackimov
536b83d10f Remove unused fix asm implementations 2024-05-03 16:22:35 -04:00
Azamat H. Hackimov
5aca8b7e5a Reorganizing fix library 2024-05-03 16:22:35 -04:00