mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Get rid of duplicate math.signbit in favor of math.sign_bit
This commit is contained in:
@@ -132,7 +132,7 @@ gamma_f64 :: proc "contextless" (x: f64) -> f64 {
|
||||
case is_inf(x, 1):
|
||||
return inf_f64(1)
|
||||
case x == 0:
|
||||
if signbit(x) {
|
||||
if sign_bit(x) {
|
||||
return inf_f64(-1)
|
||||
}
|
||||
return inf_f64(1)
|
||||
|
||||
Reference in New Issue
Block a user