Skip to content

Replace M_PI by std::numbers::pi #441

Open
@bernhardmgruber

Description

@bernhardmgruber

The exercises memcheck and polymorphism use the non-standard M_PI constant, which unfortunately for MSVC requires extra setup. If we would use std::numbers::pi instead from C++20, this special handling would not be necessary. However, it would move the exercises from C++17 to C++20. Would this be fine?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions