Skip to content

Use System.Half for HalfTypeHelper - #2233

Merged
JimBobSquarePants merged 4 commits into
mainfrom
js/system-half
Sep 16, 2022
Merged

Use System.Half for HalfTypeHelper#2233
JimBobSquarePants merged 4 commits into
mainfrom
js/system-half

Conversation

@JimBobSquarePants

Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Replaces our incredibly complex custom packing code with System.Half plus casting.

Comment threadsrc/ImageSharp/PixelFormats/HalfTypeHelper.cs Outdated
Comment threadsrc/ImageSharp/PixelFormats/HalfTypeHelper.cs Outdated
Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>
Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>

@brianpopowbrianpopow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better now 👍

@JimBobSquarePants
JimBobSquarePants merged commit 22a7cba into mainSep 16, 2022
@JimBobSquarePants
JimBobSquarePants deleted the js/system-half branch September 16, 2022 12:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@JimBobSquarePants@tannergooding@teo-tsirpanis@brianpopow