Skip to content

glm::fma can use the std::fma implementation #969

@JonasGilg

Description

@JonasGilg

Currently glm::fma implementation just returns a * b + c, which defeats the purpose of fma.
It should instead use the std::fma function, which invokes an optimized machine instruction if available. This gives higher precision in this calculation, which is the whole reason why fma exists at all.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions