Skip to content

wgsl: describe modf in terms of truncate #3630

Closed

Description

@dneto0

Currently modf is described in terms of (e % 1.0), but then float-% uses division in its description.
This confuses readers about the accuracy rules. Because float % is described in terms of float division, which has high error.

It's probably better to describe the function in terms of truncate, and say it's correctly rounded.

Activity

  1. added
    wgsl
    copyediting
    on Nov 23, 2022
  2. added this to the V1.0 milestone on Nov 23, 2022
  3. added 2 commits that reference this issue on Nov 24, 2022
    cf1c72d
    987d852
  4. added a commit that references this issue on Nov 25, 2022
    dd06585
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingwgsl

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions