mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-10 03:40:29 +00:00
change header locations
This commit is contained in:
parent
622faca123
commit
0fe17174a0
36 changed files with 135 additions and 134 deletions
8
third_party/double-conversion/bignum-dtoa.cc
vendored
8
third_party/double-conversion/bignum-dtoa.cc
vendored
|
@ -25,12 +25,12 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <cmath>
|
#include "third_party/libcxx/cmath"
|
||||||
|
|
||||||
#include "bignum-dtoa.h"
|
#include "third_party/double-conversion/bignum-dtoa.h"
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "third_party/double-conversion/bignum.h"
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/bignum-dtoa.h
vendored
2
third_party/double-conversion/bignum-dtoa.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_BIGNUM_DTOA_H_
|
#ifndef DOUBLE_CONVERSION_BIGNUM_DTOA_H_
|
||||||
#define DOUBLE_CONVERSION_BIGNUM_DTOA_H_
|
#define DOUBLE_CONVERSION_BIGNUM_DTOA_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
8
third_party/double-conversion/bignum.cc
vendored
8
third_party/double-conversion/bignum.cc
vendored
|
@ -25,11 +25,11 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <algorithm>
|
#include "third_party/libcxx/algorithm"
|
||||||
#include <cstring>
|
#include "third_party/libcxx/cstring"
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "third_party/double-conversion/bignum.h"
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/bignum.h
vendored
2
third_party/double-conversion/bignum.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_BIGNUM_H_
|
#ifndef DOUBLE_CONVERSION_BIGNUM_H_
|
||||||
#define DOUBLE_CONVERSION_BIGNUM_H_
|
#define DOUBLE_CONVERSION_BIGNUM_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
10
third_party/double-conversion/cached-powers.cc
vendored
10
third_party/double-conversion/cached-powers.cc
vendored
|
@ -25,13 +25,13 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <climits>
|
#include "third_party/libcxx/climits"
|
||||||
#include <cmath>
|
#include "third_party/libcxx/cmath"
|
||||||
#include <cstdarg>
|
#include "third_party/libcxx/cstdarg"
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#include "cached-powers.h"
|
#include "third_party/double-conversion/cached-powers.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_CACHED_POWERS_H_
|
#ifndef DOUBLE_CONVERSION_CACHED_POWERS_H_
|
||||||
#define DOUBLE_CONVERSION_CACHED_POWERS_H_
|
#define DOUBLE_CONVERSION_CACHED_POWERS_H_
|
||||||
|
|
||||||
#include "diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/diy-fp.h
vendored
2
third_party/double-conversion/diy-fp.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_DIY_FP_H_
|
#ifndef DOUBLE_CONVERSION_DIY_FP_H_
|
||||||
#define DOUBLE_CONVERSION_DIY_FP_H_
|
#define DOUBLE_CONVERSION_DIY_FP_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
#ifndef DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
||||||
#define DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
#define DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
||||||
|
|
||||||
#include "string-to-double.h"
|
#include "third_party/double-conversion/string-to-double.h"
|
||||||
#include "double-to-string.h"
|
#include "third_party/double-conversion/double-to-string.h"
|
||||||
|
|
||||||
#endif // DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
#endif // DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
|
||||||
|
|
|
@ -25,17 +25,17 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <algorithm>
|
#include "third_party/libcxx/algorithm"
|
||||||
#include <climits>
|
#include "third_party/libcxx/climits"
|
||||||
#include <cmath>
|
#include "third_party/libcxx/cmath"
|
||||||
|
|
||||||
#include "double-to-string.h"
|
#include "third_party/double-conversion/double-to-string.h"
|
||||||
|
|
||||||
#include "bignum-dtoa.h"
|
#include "third_party/double-conversion/bignum-dtoa.h"
|
||||||
#include "fast-dtoa.h"
|
#include "third_party/double-conversion/fast-dtoa.h"
|
||||||
#include "fixed-dtoa.h"
|
#include "third_party/double-conversion/fixed-dtoa.h"
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_
|
#ifndef DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_
|
||||||
#define DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_
|
#define DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
8
third_party/double-conversion/fast-dtoa.cc
vendored
8
third_party/double-conversion/fast-dtoa.cc
vendored
|
@ -25,11 +25,11 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include "fast-dtoa.h"
|
#include "third_party/double-conversion/fast-dtoa.h"
|
||||||
|
|
||||||
#include "cached-powers.h"
|
#include "third_party/double-conversion/cached-powers.h"
|
||||||
#include "diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/fast-dtoa.h
vendored
2
third_party/double-conversion/fast-dtoa.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_FAST_DTOA_H_
|
#ifndef DOUBLE_CONVERSION_FAST_DTOA_H_
|
||||||
#define DOUBLE_CONVERSION_FAST_DTOA_H_
|
#define DOUBLE_CONVERSION_FAST_DTOA_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
6
third_party/double-conversion/fixed-dtoa.cc
vendored
6
third_party/double-conversion/fixed-dtoa.cc
vendored
|
@ -25,10 +25,10 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <cmath>
|
#include "third_party/libcxx/cmath"
|
||||||
|
|
||||||
#include "fixed-dtoa.h"
|
#include "third_party/double-conversion/fixed-dtoa.h"
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/fixed-dtoa.h
vendored
2
third_party/double-conversion/fixed-dtoa.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_FIXED_DTOA_H_
|
#ifndef DOUBLE_CONVERSION_FIXED_DTOA_H_
|
||||||
#define DOUBLE_CONVERSION_FIXED_DTOA_H_
|
#define DOUBLE_CONVERSION_FIXED_DTOA_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/ieee.h
vendored
2
third_party/double-conversion/ieee.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_DOUBLE_H_
|
#ifndef DOUBLE_CONVERSION_DOUBLE_H_
|
||||||
#define DOUBLE_CONVERSION_DOUBLE_H_
|
#define DOUBLE_CONVERSION_DOUBLE_H_
|
||||||
|
|
||||||
#include "diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -25,15 +25,15 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <climits>
|
#include "third_party/libcxx/climits"
|
||||||
#include <locale>
|
#include "third_party/libcxx/locale"
|
||||||
#include <cmath>
|
#include "third_party/libcxx/cmath"
|
||||||
|
|
||||||
#include "string-to-double.h"
|
#include "third_party/double-conversion/string-to-double.h"
|
||||||
|
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "strtod.h"
|
#include "third_party/double-conversion/strtod.h"
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if _MSC_VER >= 1900
|
# if _MSC_VER >= 1900
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
|
#ifndef DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
|
||||||
#define DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
|
#define DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
12
third_party/double-conversion/strtod.cc
vendored
12
third_party/double-conversion/strtod.cc
vendored
|
@ -25,13 +25,13 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <climits>
|
#include "third_party/libcxx/climits"
|
||||||
#include <cstdarg>
|
#include "third_party/libcxx/cstdarg"
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "third_party/double-conversion/bignum.h"
|
||||||
#include "cached-powers.h"
|
#include "third_party/double-conversion/cached-powers.h"
|
||||||
#include "ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "strtod.h"
|
#include "third_party/double-conversion/strtod.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
2
third_party/double-conversion/strtod.h
vendored
2
third_party/double-conversion/strtod.h
vendored
|
@ -28,7 +28,7 @@
|
||||||
#ifndef DOUBLE_CONVERSION_STRTOD_H_
|
#ifndef DOUBLE_CONVERSION_STRTOD_H_
|
||||||
#define DOUBLE_CONVERSION_STRTOD_H_
|
#define DOUBLE_CONVERSION_STRTOD_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
8
third_party/double-conversion/test/cctest.cc
vendored
8
third_party/double-conversion/test/cctest.cc
vendored
|
@ -25,10 +25,10 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include <stdio.h>
|
#include "libc/isystem/stdio.h"
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
#include <string.h>
|
#include "libc/isystem/string.h"
|
||||||
|
|
||||||
|
|
||||||
CcTest* CcTest::last_ = NULL;
|
CcTest* CcTest::last_ = NULL;
|
||||||
|
|
6
third_party/double-conversion/test/cctest.h
vendored
6
third_party/double-conversion/test/cctest.h
vendored
|
@ -28,10 +28,10 @@
|
||||||
#ifndef CCTEST_H_
|
#ifndef CCTEST_H_
|
||||||
#define CCTEST_H_
|
#define CCTEST_H_
|
||||||
|
|
||||||
#include <stdio.h>
|
#include "libc/isystem/stdio.h"
|
||||||
#include <string.h>
|
#include "libc/isystem/string.h"
|
||||||
|
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#ifndef TEST
|
#ifndef TEST
|
||||||
#define TEST(Name) \
|
#define TEST(Name) \
|
||||||
|
|
4
third_party/double-conversion/test/checks.h
vendored
4
third_party/double-conversion/test/checks.h
vendored
|
@ -28,9 +28,9 @@
|
||||||
#ifndef V8_CHECKS_H_
|
#ifndef V8_CHECKS_H_
|
||||||
#define V8_CHECKS_H_
|
#define V8_CHECKS_H_
|
||||||
|
|
||||||
#include <string.h>
|
#include "libc/isystem/string.h"
|
||||||
|
|
||||||
#include "flags.h"
|
#include "third_party/double-conversion/test/flags.h"
|
||||||
|
|
||||||
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
|
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
|
||||||
void API_Fatal(const char* location, const char* format, ...);
|
void API_Fatal(const char* location, const char* format, ...);
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
// have been generated using Gay's dtoa to produce the fixed representation:
|
// have been generated using Gay's dtoa to produce the fixed representation:
|
||||||
// dtoa(v, 3, number_digits, &decimal_point, &sign, NULL);
|
// dtoa(v, 3, number_digits, &decimal_point, &sign, NULL);
|
||||||
|
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#include "gay-fixed.h"
|
#include "third_party/double-conversion/test/gay-fixed.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
// have been generated using Gay's dtoa to produce the precision representation:
|
// have been generated using Gay's dtoa to produce the precision representation:
|
||||||
// dtoa(v, 2, number_digits, &decimal_point, &sign, NULL);
|
// dtoa(v, 2, number_digits, &decimal_point, &sign, NULL);
|
||||||
|
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#include "gay-precision.h"
|
#include "third_party/double-conversion/test/gay-precision.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
// This file contains 100.000 decimal representations of random singles. They
|
// This file contains 100.000 decimal representations of random singles. They
|
||||||
// have been generated using Gay's gdtoa to produce the shortest representation.
|
// have been generated using Gay's gdtoa to produce the shortest representation.
|
||||||
|
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#include "gay-shortest-single.h"
|
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
// have been generated using Gay's dtoa to produce the shortest representation:
|
// have been generated using Gay's dtoa to produce the shortest representation:
|
||||||
// decimal_rep = dtoa(v, 0, 0, &decimal_point, &sign, NULL);
|
// decimal_rep = dtoa(v, 0, 0, &decimal_point, &sign, NULL);
|
||||||
|
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
#include "gay-shortest.h"
|
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||||
|
|
||||||
namespace double_conversion {
|
namespace double_conversion {
|
||||||
|
|
||||||
|
|
|
@ -25,17 +25,17 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
#include "double-conversion/bignum-dtoa.h"
|
#include "third_party/double-conversion/bignum-dtoa.h"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "gay-fixed.h"
|
#include "third_party/double-conversion/test/gay-fixed.h"
|
||||||
#include "gay-precision.h"
|
#include "third_party/double-conversion/test/gay-precision.h"
|
||||||
#include "gay-shortest.h"
|
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||||
#include "gay-shortest-single.h"
|
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
#include <string.h>
|
#include "libc/isystem/string.h"
|
||||||
|
|
||||||
|
|
||||||
#include "double-conversion/bignum.h"
|
#include "third_party/double-conversion/bignum.h"
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
||||||
|
|
|
@ -25,12 +25,12 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <string.h>
|
#include "libc/isystem/string.h"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/double-conversion.h"
|
#include "third_party/double-conversion/double-conversion.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
// DoubleToString is already tested in test-dtoa.cc.
|
// DoubleToString is already tested in test-dtoa.cc.
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
16
third_party/double-conversion/test/test-dtoa.cc
vendored
16
third_party/double-conversion/test/test-dtoa.cc
vendored
|
@ -25,16 +25,16 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
#include "double-conversion/double-conversion.h"
|
#include "third_party/double-conversion/double-conversion.h"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "gay-fixed.h"
|
#include "third_party/double-conversion/test/gay-fixed.h"
|
||||||
#include "gay-precision.h"
|
#include "third_party/double-conversion/test/gay-precision.h"
|
||||||
#include "gay-shortest.h"
|
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||||
#include "gay-shortest-single.h"
|
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
|
@ -25,16 +25,16 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
#include "double-conversion/fast-dtoa.h"
|
#include "third_party/double-conversion/fast-dtoa.h"
|
||||||
#include "gay-precision.h"
|
#include "third_party/double-conversion/test/gay-precision.h"
|
||||||
#include "gay-shortest.h"
|
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||||
#include "gay-shortest-single.h"
|
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
||||||
|
|
|
@ -25,14 +25,14 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/fixed-dtoa.h"
|
#include "third_party/double-conversion/fixed-dtoa.h"
|
||||||
#include "gay-fixed.h"
|
#include "third_party/double-conversion/test/gay-fixed.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
||||||
|
|
12
third_party/double-conversion/test/test-ieee.cc
vendored
12
third_party/double-conversion/test/test-ieee.cc
vendored
|
@ -25,13 +25,13 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
#include <limits>
|
#include "libc/isystem/limits"
|
||||||
|
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
|
@ -25,14 +25,14 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include "libc/isystem/stdlib.h"
|
||||||
|
|
||||||
#include "double-conversion/bignum.h"
|
#include "third_party/double-conversion/bignum.h"
|
||||||
#include "cctest.h"
|
#include "third_party/double-conversion/test/cctest.h"
|
||||||
#include "double-conversion/diy-fp.h"
|
#include "third_party/double-conversion/diy-fp.h"
|
||||||
#include "double-conversion/ieee.h"
|
#include "third_party/double-conversion/ieee.h"
|
||||||
#include "double-conversion/strtod.h"
|
#include "third_party/double-conversion/strtod.h"
|
||||||
#include "double-conversion/utils.h"
|
#include "third_party/double-conversion/utils.h"
|
||||||
|
|
||||||
using namespace double_conversion;
|
using namespace double_conversion;
|
||||||
|
|
||||||
|
|
9
third_party/double-conversion/utils.h
vendored
9
third_party/double-conversion/utils.h
vendored
|
@ -31,10 +31,10 @@
|
||||||
// Use DOUBLE_CONVERSION_NON_PREFIXED_MACROS to get unprefixed macros as was
|
// Use DOUBLE_CONVERSION_NON_PREFIXED_MACROS to get unprefixed macros as was
|
||||||
// the case in double-conversion releases prior to 3.1.6
|
// the case in double-conversion releases prior to 3.1.6
|
||||||
|
|
||||||
#include <cstdlib>
|
#include "third_party/libcxx/cstdlib"
|
||||||
#include <cstring>
|
#include "third_party/libcxx/cstring"
|
||||||
|
|
||||||
#include <cassert>
|
#include "third_party/libcxx/cassert"
|
||||||
#ifndef DOUBLE_CONVERSION_ASSERT
|
#ifndef DOUBLE_CONVERSION_ASSERT
|
||||||
#define DOUBLE_CONVERSION_ASSERT(condition) \
|
#define DOUBLE_CONVERSION_ASSERT(condition) \
|
||||||
assert(condition)
|
assert(condition)
|
||||||
|
@ -176,7 +176,8 @@ typedef unsigned __int64 uint64_t;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <stdint.h>
|
#include "libc/limits.h"
|
||||||
|
#include "libc/literal.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue