Skip to content

Benchmark bitwave() against bitwave2() #6

Open
@ltmx

Description

@ltmx
[MethodImpl(IL)] public static float4 bitwave(float4 x) => floor(math.fmod(x, 2));
[MethodImpl(IL)] public static float4 bitwave2(float4 x) => (int4)x & 1;

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions