浏览代码

Fixed typo in copy_sign_f64.

thebirk 6 年之前
父节点
当前提交
6571f07c7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/math/math.odin

+ 1 - 1
core/math/math.odin

@@ -88,7 +88,7 @@ copy_sign_f32 :: proc(x, y: f32) -> f32 {
 copy_sign_f64 :: proc(x, y: f64) -> f64 {
 	ix := transmute(u64)x;
 	iy := transmute(u64)y;
-	ix &= 0x7fff_ffff_ffff_ff;
+	ix &= 0x7fff_ffff_ffff_ffff;
 	ix |= iy & 0x8000_0000_0000_0000;
 	return transmute(f64)ix;
 }