pdufour commited on
Commit
f9c460b
1 Parent(s): fcbf7ba

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -76,7 +76,7 @@ export function int64ToFloat16(int64Value) {
76
  }
77
  }
78
 
79
- export function float16ToInt64(float16Value: number): bigint {
80
  // Extract components from float16
81
  const sign = (float16Value & 0x8000) >> 15;
82
  const exponent = (float16Value & 0x7c00) >> 10;
 
76
  }
77
  }
78
 
79
+ export function float16ToInt64(float16Value) {
80
  // Extract components from float16
81
  const sign = (float16Value & 0x8000) >> 15;
82
  const exponent = (float16Value & 0x7c00) >> 10;