将 kernel\common\math\pow.c 的求幂运算优化为快速幂

This commit is contained in:
Eugene
2022-08-14 21:27:21 +08:00
parent fb1144fbda
commit 618b612754
4 changed files with 18 additions and 5 deletions

View File

@ -345,7 +345,7 @@ void fat32_fill_shortname(struct vfs_dir_entry_t *dEntry, struct fat32_Directory
}
else
{
for(int j = 8;j<11;++j)
for (int j = 8; j < 11; ++j)
{
target->DIR_Name[j] = 'a';
}