Skip to content

Math: functions for absolute #62

@AlBuSoft

Description

@AlBuSoft

Description

Eine Funktion zur Absolut-Umwandlung.

int64 Abs(int64 x) { return x < 0 ? -x : x; } long double Abs(long double x) { return x < 0.0 ? -x : x; }

Details

Projekt: "ecm.math.dll"
Datei: "functions.hpp" "functions.inl"
Namespace: "ecm::math"

Tasks

  • Funktion definieren
  • Funktione implementieren

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions