blob: 89dfb475d39078dd9c2ad9cebb7cbcd27489cacc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { FP } from '../../../../../util/floating_point.js';
import { fullU32Range } from '../../../../../util/math.js';
import { makeCaseCache } from '../../case_cache.js';
export const d = makeCaseCache('unpack2x16snorm', {
u32_const: () => {
return FP.f32.generateU32ToIntervalCases(
fullU32Range(),
'finite',
FP.f32.unpack2x16snormInterval
);
},
u32_non_const: () => {
return FP.f32.generateU32ToIntervalCases(
fullU32Range(),
'unfiltered',
FP.f32.unpack2x16snormInterval
);
},
});
|