Skip to content

Commit c3c4368

Browse files
mdempskycommit-bot@chromium.org
authored andcommitted
[vm] Remove platform/math.h
It seems safe to assume that <math.h> works on all supported platforms now. Change-Id: Iffb6618f6035c8cc10657c55ccc3ca7cd5d9525c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107825 Reviewed-by: Vyacheslav Egorov <[email protected]> Commit-Queue: Matthew Dempsky <[email protected]>
1 parent 524fdc1 commit c3c4368

3 files changed

Lines changed: 2 additions & 26 deletions

File tree

‎runtime/lib/double.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "vm/bootstrap_natives.h"
66

7-
#include "platform/math.h"
7+
#include <math.h>
88

99
#include "vm/dart_entry.h"
1010
#include "vm/double_conversion.h"

‎runtime/platform/globals.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
#include <float.h>
7171
#include <limits.h>
72+
#include <math.h>
7273
#include <stdarg.h>
7374
#include <stddef.h>
7475
#include <stdio.h>
@@ -81,8 +82,6 @@
8182
#include "platform/inttypes_support_win.h"
8283
#endif // defined(_WIN32)
8384

84-
#include "platform/math.h"
85-
8685
#if !defined(_WIN32)
8786
#include "platform/floating_point.h"
8887
#endif // !defined(_WIN32)

‎runtime/platform/math.h‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)