Project

General

Profile

Task #2671

replace constants like M_PI

Added by Mark Abraham almost 2 years ago. Updated 8 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.

History

#1 Updated by Artem Zhmurov 8 months ago

  • Target version changed from 2020 to future

Also available in: Atom PDF