Project

General

Profile

Task #2671

replace constants like M_PI

Added by Mark Abraham 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
core library
Target version:
Difficulty:
uncategorized
Close

Description

These should be constexpr and type specific (following the example of CUDA and OpenCL APIs that have different constants for float and double). This would also let some of our code not have to cast M_PI to float in some cases.

Also available in: Atom PDF