Skip to content

Conversation

@tcorringham
Copy link

@tcorringham tcorringham commented Jan 27, 2026

Add a test for all supported variants of f32tof16():
uint f32tof16(float)
uint2 f32tof16(float2)
uint3 f32tof16(float3)
uint4 f32tof16(float4)

Fixes #100

Tim Corringham and others added 4 commits December 16, 2025 09:49
Add a test for all supported variants of f32tof16():
	uint f32tof16(float)
	uint2 f32tof16(float2)
	uint3 f32tof16(float3)
	uint4 f32tof16(float4)

Fixes llvm#100
Add a test for all supported variants of f32tof16():
	uint f32tof16(float)
	uint2 f32tof16(float2)
	uint3 f32tof16(float3)
	uint4 f32tof16(float4)

Fixes llvm#100
Amend an input value as the corresponding result varied across targets
making checks fail for some. The new value is chosen to (hopefully)
produce the same result across all targets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add test for f32tof16

1 participant