Skip to content

Tracking Issue for fNN::lerp #86269

Closed
@clarfonthey

Description

@clarfonthey

Feature gate: #![feature(float_interpolationl)]

This is a tracking issue for the fNN::lerp methods in the standard library.

Public API

impl fNN {
    fn lerp(self, start: Self, end: Self) -> Self;
}

Steps / History

Unresolved Questions

  • Should we have all of the guarantees of std::lerp from C++?
  • What specific mathematical version of lerp should we use?
  • Is the calling convention good? Normally the order is lerp(a, b, t) but we have t.lerp(a, b)` here.
  • Should we have an inverse lerp method? What should it be called?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-floating-pointArea: Floating point numbers and arithmeticC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions