Skip to content

Add APIs in Silk.NET.Maths that are explicitly checked or unchecked #409

@Perksey

Description

@Perksey

Summary of feature

Currently, Silk.NET.Maths just respects the underlying language rules with regards to overflows, underflows, checked contexts, and unchecked contexts. We should add methods that are explicitly unchecked or checked such that the user knows what a method will actually do.

Comments

For example

  • Scalar.CheckedAdd(a, b)
  • Vector.CheckedMultiply(a, b)
    etc

Does this have a proposal?

This won't require a proposal as there's probably little to debate here so long as they mirror the ambiguous APIs but with a different API

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions