diff --git a/libc/benchmarks/distributions/README.md b/libc/benchmarks/distributions/README.md index 135ba7bc8222..9c665885419d 100644 --- a/libc/benchmarks/distributions/README.md +++ b/libc/benchmarks/distributions/README.md @@ -31,4 +31,4 @@ As identified in the [automemcpy](https://research.google/pubs/pub50338/) paper: ## Note -Except for `GoogleD`, all distributions are gathered over one week worth of data. \ No newline at end of file +Except for `GoogleD`, all distributions are gathered over one week worth of data. diff --git a/libc/benchmarks/gpu/CMakeLists.txt b/libc/benchmarks/gpu/CMakeLists.txt index 5fa3e44e8d48..b58f4fd8b1a4 100644 --- a/libc/benchmarks/gpu/CMakeLists.txt +++ b/libc/benchmarks/gpu/CMakeLists.txt @@ -10,7 +10,7 @@ function(add_benchmark benchmark_name) "LINK_LIBRARIES;DEPENDS" # Multi-value arguments ${ARGN} ) - + if(NOT libc.src.time.clock IN_LIST TARGET_LLVMLIBC_ENTRYPOINTS) message(FATAL_ERROR "target does not support clock") endif() diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt index 6dc5df830eb0..667ab40dca99 100644 --- a/libc/config/baremetal/riscv/entrypoints.txt +++ b/libc/config/baremetal/riscv/entrypoints.txt @@ -463,7 +463,7 @@ if(LIBC_COMPILER_HAS_FIXED_POINT) libc.src.stdfix.kbits libc.src.stdfix.ukbits libc.src.stdfix.lkbits - libc.src.stdfix.ulkbits + libc.src.stdfix.ulkbits ) endif() diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt index f5ba34141176..6e5ecba6200a 100644 --- a/libc/config/linux/aarch64/entrypoints.txt +++ b/libc/config/linux/aarch64/entrypoints.txt @@ -439,7 +439,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.math.fabs libc.src.math.fabsf libc.src.math.fabsl - libc.src.math.fadd + libc.src.math.fadd libc.src.math.faddl libc.src.math.fadd libc.src.math.fdim diff --git a/libc/config/linux/arm/entrypoints.txt b/libc/config/linux/arm/entrypoints.txt index 83f4dfaaa2d0..42ea803baac0 100644 --- a/libc/config/linux/arm/entrypoints.txt +++ b/libc/config/linux/arm/entrypoints.txt @@ -215,7 +215,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.complex.cproj libc.src.complex.cprojf libc.src.complex.cprojl - + # fenv.h entrypoints libc.src.fenv.feclearexcept libc.src.fenv.fedisableexcept @@ -268,7 +268,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.math.fabs libc.src.math.fabsf libc.src.math.fabsl - libc.src.math.fadd + libc.src.math.fadd libc.src.math.faddl libc.src.math.fadd libc.src.math.fdim diff --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt index 49a8d61b9380..36339126b1f2 100644 --- a/libc/config/linux/riscv/entrypoints.txt +++ b/libc/config/linux/riscv/entrypoints.txt @@ -432,7 +432,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.math.fabs libc.src.math.fabsf libc.src.math.fabsl - libc.src.math.fadd + libc.src.math.fadd libc.src.math.faddl libc.src.math.fadd libc.src.math.fdim @@ -630,7 +630,7 @@ if(LIBC_TYPES_HAS_CFLOAT128) ) endif() -if(LIBC_TYPES_HAS_FLOAT128) +if(LIBC_TYPES_HAS_FLOAT128) list(APPEND TARGET_LIBM_ENTRYPOINTS # math.h C23 _Float128 entrypoints libc.src.math.canonicalizef128 diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt index 0c1ae9561a7e..6662175c5302 100644 --- a/libc/config/linux/x86_64/entrypoints.txt +++ b/libc/config/linux/x86_64/entrypoints.txt @@ -377,7 +377,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.complex.cproj libc.src.complex.cprojf libc.src.complex.cprojl - + # fenv.h entrypoints libc.src.fenv.feclearexcept libc.src.fenv.fedisableexcept @@ -440,7 +440,7 @@ set(TARGET_LIBM_ENTRYPOINTS libc.src.math.fabs libc.src.math.fabsf libc.src.math.fabsl - libc.src.math.fadd + libc.src.math.fadd libc.src.math.faddl libc.src.math.fadd libc.src.math.fdim @@ -756,7 +756,7 @@ if(LIBC_TYPES_HAS_CFLOAT128) endif() if(LIBC_TYPES_HAS_FLOAT128) - list(APPEND TARGET_LIBM_ENTRYPOINTS + list(APPEND TARGET_LIBM_ENTRYPOINTS # math.h C23 _Float128 entrypoints libc.src.math.canonicalizef128 libc.src.math.ceilf128 diff --git a/libc/docs/dev/printf_behavior.rst b/libc/docs/dev/printf_behavior.rst index f5507c4d1675..01ab128a1f23 100644 --- a/libc/docs/dev/printf_behavior.rst +++ b/libc/docs/dev/printf_behavior.rst @@ -173,7 +173,7 @@ If a number passed as a field width or precision value is out of range for an int, then it will be treated as the largest value in the int range (e.g. "%-999999999999.999999999999s" is the same as "%-2147483647.2147483647s"). -If the field width is set to INT_MIN by using the '*' form, +If the field width is set to INT_MIN by using the '*' form, e.g. printf("%*d", INT_MIN, 1), it will be treated as INT_MAX, since -INT_MIN is not representable as an int. diff --git a/libc/docs/dev/undefined_behavior.rst b/libc/docs/dev/undefined_behavior.rst index d0d882b7010e..60fda51e8645 100644 --- a/libc/docs/dev/undefined_behavior.rst +++ b/libc/docs/dev/undefined_behavior.rst @@ -78,8 +78,8 @@ POSIX.1 leaves that when the name of a shared memory object does not begin with Handling of NULL arguments to the 's' format specifier ------------------------------------------------------ The C standard does not specify behavior for ``printf("%s", NULL)``. We will -print the string literal ``(null)`` unless using the -``LIBC_COPT_PRINTF_NO_NULLPTR_CHECKS`` option described in :ref:`printf +print the string literal ``(null)`` unless using the +``LIBC_COPT_PRINTF_NO_NULLPTR_CHECKS`` option described in :ref:`printf behavior`. Unknown Math Rounding Direction diff --git a/libc/docs/gpu/rpc.rst b/libc/docs/gpu/rpc.rst index 0d169c7db9a5..3f312bb9281b 100644 --- a/libc/docs/gpu/rpc.rst +++ b/libc/docs/gpu/rpc.rst @@ -253,7 +253,7 @@ linked in by forwarding the static library to the device-side link job. Extensions ---------- -The opcode is a 32-bit integer that must be unique to the requested operation. -All opcodes used by ``libc`` internally have the character ``c`` in the most +The opcode is a 32-bit integer that must be unique to the requested operation. +All opcodes used by ``libc`` internally have the character ``c`` in the most significant byte. Any other opcode is available for use outside of the ``libc`` implementation. diff --git a/libc/docs/platform_support.rst b/libc/docs/platform_support.rst index 2ce3d7282b30..4643d82e2308 100644 --- a/libc/docs/platform_support.rst +++ b/libc/docs/platform_support.rst @@ -12,7 +12,7 @@ For Linux, we support kernel versions as listed on date), ``stable``, and ``mainline`` versions. We actively adopt new features from ``linux-next``. -For Windows, we plan to support products within their lifecycle. Please refer to +For Windows, we plan to support products within their lifecycle. Please refer to `Search Product and Services Lifecycle Information `_ for more information. LLVM-libc does not guarantee backward compatibility with operating systems that diff --git a/libc/fuzzing/__support/CMakeLists.txt b/libc/fuzzing/__support/CMakeLists.txt index d4b324db716f..7742ee43860d 100644 --- a/libc/fuzzing/__support/CMakeLists.txt +++ b/libc/fuzzing/__support/CMakeLists.txt @@ -22,7 +22,7 @@ add_libc_fuzzer( libc.src.__support.HashTable.table COMPILE_OPTIONS -D__LIBC_EXPLICIT_SIMD_OPT -) +) # TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol # defined by GPU start.cpp files so for now we exclude this fuzzer on GPU. diff --git a/libc/include/llvm-libc-types/CMakeLists.txt b/libc/include/llvm-libc-types/CMakeLists.txt index ee734eafce36..6cbaa1ac0b30 100644 --- a/libc/include/llvm-libc-types/CMakeLists.txt +++ b/libc/include/llvm-libc-types/CMakeLists.txt @@ -102,15 +102,15 @@ add_header(__getoptargv_t HDR __getoptargv_t.h) add_header(wchar_t HDR wchar_t.h) add_header(char8_t HDR char8_t.h) add_header( - char16_t - HDR + char16_t + HDR char16_t.h DEPENDS libc.include.llvm-libc-macros.stdint_macros ) add_header( - char32_t - HDR + char32_t + HDR char32_t.h DEPENDS libc.include.llvm-libc-macros.stdint_macros @@ -145,8 +145,8 @@ add_header(cfloat16 HDR cfloat16.h) add_header(fsblkcnt_t HDR fsblkcnt_t.h) add_header(fsfilcnt_t HDR fsfilcnt_t.h) add_header( - struct_statvfs -HDR + struct_statvfs +HDR struct_statvfs.h DEPENDS .fsblkcnt_t diff --git a/libc/include/stdfix.yaml b/libc/include/stdfix.yaml index 7b3bdba082dd..9663ac0c7df4 100644 --- a/libc/include/stdfix.yaml +++ b/libc/include/stdfix.yaml @@ -1,7 +1,7 @@ header: stdfix.h header_template: stdfix.h.def macros: [] -types: +types: - type_name: stdfix-types enums: [] objects: [] diff --git a/libc/include/sys/uio.yaml b/libc/include/sys/uio.yaml index 808d8ec79019..87c5bdff4824 100644 --- a/libc/include/sys/uio.yaml +++ b/libc/include/sys/uio.yaml @@ -1,7 +1,7 @@ header: sys/uio.h header_template: uio.h.def macros: [] -types: +types: - type_name: struct_iovec - type_name: ssize_t enums: [] diff --git a/libc/src/__support/CPP/CMakeLists.txt b/libc/src/__support/CPP/CMakeLists.txt index 15fad9de0ed6..d2ba00a5384d 100644 --- a/libc/src/__support/CPP/CMakeLists.txt +++ b/libc/src/__support/CPP/CMakeLists.txt @@ -83,7 +83,7 @@ add_header_library( .string_view libc.hdr.func.free libc.hdr.func.malloc - libc.hdr.func.realloc + libc.hdr.func.realloc libc.src.__support.common libc.src.__support.integer_to_string libc.src.string.memory_utils.inline_memcpy @@ -203,7 +203,7 @@ add_object_library( DEPENDS libc.hdr.func.free libc.hdr.func.malloc - libc.hdr.func.aligned_alloc + libc.hdr.func.aligned_alloc libc.src.__support.common libc.src.__support.macros.properties.os ) diff --git a/libc/src/__support/threads/linux/CMakeLists.txt b/libc/src/__support/threads/linux/CMakeLists.txt index 47598d98c988..364e7e2b9058 100644 --- a/libc/src/__support/threads/linux/CMakeLists.txt +++ b/libc/src/__support/threads/linux/CMakeLists.txt @@ -79,7 +79,7 @@ add_object_library( .futex_utils libc.config.app_h libc.include.sys_syscall - libc.hdr.fcntl_macros + libc.hdr.fcntl_macros libc.src.errno.errno libc.src.__support.CPP.atomic libc.src.__support.CPP.stringstream diff --git a/libc/src/__support/threads/spin_lock.h b/libc/src/__support/threads/spin_lock.h index e176ad9eeac2..3b424b30425a 100644 --- a/libc/src/__support/threads/spin_lock.h +++ b/libc/src/__support/threads/spin_lock.h @@ -34,7 +34,7 @@ public: // .LBB0_2: | jmp .LBB0_4 // isb | .LBB0_2: // .LBB0_3: | pause - // ldrb w9, [x0] | .LBB0_3: + // ldrb w9, [x0] | .LBB0_3: // tbnz w9, #0, .LBB0_2 | movzx eax, byte ptr [rdi] // b .LBB0_1 | test al, 1 // .LBB0_4: | jne .LBB0_2 diff --git a/libc/src/__support/time/windows/CMakeLists.txt b/libc/src/__support/time/windows/CMakeLists.txt index dd0ac2f2f79a..f31dfbdf2604 100644 --- a/libc/src/__support/time/windows/CMakeLists.txt +++ b/libc/src/__support/time/windows/CMakeLists.txt @@ -1,5 +1,5 @@ add_header_library( - performance_counter + performance_counter HDRS performance_counter.h DEPENDS diff --git a/libc/src/math/nvptx/CMakeLists.txt b/libc/src/math/nvptx/CMakeLists.txt index 577d8147df43..e85e17b6701f 100644 --- a/libc/src/math/nvptx/CMakeLists.txt +++ b/libc/src/math/nvptx/CMakeLists.txt @@ -9,7 +9,7 @@ if(CUDAToolkit_FOUND) if (EXISTS ${libdevice_path}) message(STATUS "Found the CUDA device library. Implementations falling back " "to the vendor libraries will be resolved statically.") - set(bitcode_link_flags + set(bitcode_link_flags "SHELL:-Xclang -mlink-builtin-bitcode -Xclang ${libdevice_path}") endif() else() diff --git a/libc/src/stdlib/CMakeLists.txt b/libc/src/stdlib/CMakeLists.txt index 40ba9ead9a7a..73a9fbf1e2dd 100644 --- a/libc/src/stdlib/CMakeLists.txt +++ b/libc/src/stdlib/CMakeLists.txt @@ -539,7 +539,7 @@ add_entrypoint_object( libc.src.__support.OSUtil.osutil ) -# TODO: Move all exit functions to linux specific +# TODO: Move all exit functions to linux specific if(TARGET libc.src.__support.threads.mutex) add_header_library( @@ -563,7 +563,7 @@ add_entrypoint_object( HDRS atexit.h CXX_STANDARD - 20 # For constinit + 20 # For constinit DEPENDS .exit_handler ) @@ -575,7 +575,7 @@ add_entrypoint_object( HDRS at_quick_exit.h CXX_STANDARD - 20 # For constinit + 20 # For constinit DEPENDS .exit_handler .atexit diff --git a/libc/test/src/__support/File/CMakeLists.txt b/libc/test/src/__support/File/CMakeLists.txt index 04205166bf53..a11f52978f35 100644 --- a/libc/test/src/__support/File/CMakeLists.txt +++ b/libc/test/src/__support/File/CMakeLists.txt @@ -16,7 +16,7 @@ add_libc_test( DEPENDS libc.include.stdio libc.hdr.types.size_t - libc.src.errno.errno + libc.src.errno.errno libc.src.__support.CPP.new libc.src.__support.File.file ) diff --git a/libc/test/src/math/CMakeLists.txt b/libc/test/src/math/CMakeLists.txt index ae8518ee4b4c..bbcdf2363c1e 100644 --- a/libc/test/src/math/CMakeLists.txt +++ b/libc/test/src/math/CMakeLists.txt @@ -104,7 +104,7 @@ add_fp_unittest( SRCS sinf16_test.cpp DEPENDS - libc.src.math.sinf16 + libc.src.math.sinf16 ) add_fp_unittest( @@ -198,7 +198,7 @@ add_fp_unittest( SRCS tanf16_test.cpp DEPENDS - libc.src.math.tanf16 + libc.src.math.tanf16 ) add_fp_unittest( diff --git a/libc/test/src/math/smoke/CMakeLists.txt b/libc/test/src/math/smoke/CMakeLists.txt index e23e7f41222d..e4501eb75fa4 100644 --- a/libc/test/src/math/smoke/CMakeLists.txt +++ b/libc/test/src/math/smoke/CMakeLists.txt @@ -129,7 +129,7 @@ add_fp_unittest( tanf16_test.cpp DEPENDS libc.src.errno.errno - libc.src.math.tanf16 + libc.src.math.tanf16 ) add_fp_unittest( diff --git a/libc/test/src/signal/CMakeLists.txt b/libc/test/src/signal/CMakeLists.txt index 87aa42faae8e..a27f5b8f1000 100644 --- a/libc/test/src/signal/CMakeLists.txt +++ b/libc/test/src/signal/CMakeLists.txt @@ -62,7 +62,7 @@ add_libc_unittest( sigaddset_test.cpp DEPENDS libc.include.signal - libc.src.errno.errno + libc.src.errno.errno libc.src.signal.sigaddset libc.test.UnitTest.ErrnoSetterMatcher ) @@ -89,7 +89,7 @@ add_libc_unittest( sigfillset_test.cpp DEPENDS libc.include.signal - libc.src.errno.errno + libc.src.errno.errno libc.src.signal.raise libc.src.signal.sigfillset libc.src.signal.sigprocmask @@ -104,7 +104,7 @@ add_libc_unittest( sigdelset_test.cpp DEPENDS libc.include.signal - libc.src.errno.errno + libc.src.errno.errno libc.src.signal.raise libc.src.signal.sigdelset libc.src.signal.sigfillset diff --git a/libc/test/src/stdfix/CMakeLists.txt b/libc/test/src/stdfix/CMakeLists.txt index 60e38c9098c3..90d20438edb4 100644 --- a/libc/test/src/stdfix/CMakeLists.txt +++ b/libc/test/src/stdfix/CMakeLists.txt @@ -57,7 +57,7 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk) libc.src.stdfix.round${suffix} libc.src.__support.fixed_point.fx_bits ) - + add_libc_test( ${suffix}bits_test SUITE diff --git a/libc/test/src/sys/resource/CMakeLists.txt b/libc/test/src/sys/resource/CMakeLists.txt index 32186de4b111..0a0f35bcbe55 100644 --- a/libc/test/src/sys/resource/CMakeLists.txt +++ b/libc/test/src/sys/resource/CMakeLists.txt @@ -11,7 +11,7 @@ add_libc_unittest( DEPENDS libc.include.fcntl libc.include.sys_resource - libc.src.errno.errno + libc.src.errno.errno libc.src.fcntl.open libc.src.sys.resource.getrlimit libc.src.sys.resource.setrlimit diff --git a/libc/test/src/sys/select/CMakeLists.txt b/libc/test/src/sys/select/CMakeLists.txt index 2b465d32c2c3..ff677926c7b6 100644 --- a/libc/test/src/sys/select/CMakeLists.txt +++ b/libc/test/src/sys/select/CMakeLists.txt @@ -9,7 +9,7 @@ add_libc_unittest( select_ui_test.cpp DEPENDS libc.include.unistd - libc.src.errno.errno + libc.src.errno.errno libc.src.sys.select.select libc.src.unistd.read ) @@ -22,7 +22,7 @@ add_libc_unittest( select_failure_test.cpp DEPENDS libc.include.unistd - libc.src.errno.errno + libc.src.errno.errno libc.src.sys.select.select libc.src.unistd.read libc.test.UnitTest.ErrnoSetterMatcher diff --git a/libc/test/src/sys/sendfile/CMakeLists.txt b/libc/test/src/sys/sendfile/CMakeLists.txt index ceaa4accdd06..06c61bca4255 100644 --- a/libc/test/src/sys/sendfile/CMakeLists.txt +++ b/libc/test/src/sys/sendfile/CMakeLists.txt @@ -11,7 +11,7 @@ add_libc_unittest( DEPENDS libc.hdr.fcntl_macros libc.include.sys_stat - libc.src.errno.errno + libc.src.errno.errno libc.src.fcntl.open libc.src.sys.sendfile.sendfile libc.src.unistd.close diff --git a/libc/test/src/sys/wait/CMakeLists.txt b/libc/test/src/sys/wait/CMakeLists.txt index db737a46f0d0..9acd74d9ce32 100644 --- a/libc/test/src/sys/wait/CMakeLists.txt +++ b/libc/test/src/sys/wait/CMakeLists.txt @@ -8,7 +8,7 @@ add_libc_unittest( waitpid_test.cpp DEPENDS libc.include.sys_wait - libc.src.errno.errno + libc.src.errno.errno libc.src.sys.wait.waitpid ) @@ -20,6 +20,6 @@ add_libc_unittest( wait4_test.cpp DEPENDS libc.include.sys_wait - libc.src.errno.errno + libc.src.errno.errno libc.src.sys.wait.wait4 ) diff --git a/libc/test/src/unistd/CMakeLists.txt b/libc/test/src/unistd/CMakeLists.txt index c3eebdf2a877..b01cce931a1e 100644 --- a/libc/test/src/unistd/CMakeLists.txt +++ b/libc/test/src/unistd/CMakeLists.txt @@ -29,7 +29,7 @@ add_libc_unittest( libc.src.errno.errno libc.src.unistd.chdir libc.src.unistd.close - libc.src.fcntl.open + libc.src.fcntl.open libc.test.UnitTest.ErrnoSetterMatcher ) @@ -427,7 +427,7 @@ add_libc_unittest( libc.include.unistd libc.hdr.fcntl_macros libc.include.sys_syscall - libc.src.errno.errno + libc.src.errno.errno libc.src.unistd.__llvm_libc_syscall libc.test.UnitTest.ErrnoSetterMatcher ) diff --git a/libc/utils/docgen/aio.yaml b/libc/utils/docgen/aio.yaml index 2c381558676a..e30c76c9dc05 100644 --- a/libc/utils/docgen/aio.yaml +++ b/libc/utils/docgen/aio.yaml @@ -15,7 +15,7 @@ macros: in-latest-posix: '' LIO_WRITE: in-latest-posix: '' - + functions: aio_cancel: in-latest-posix: '' diff --git a/libc/utils/docgen/net/if.yaml b/libc/utils/docgen/net/if.yaml index 085d27b2bb94..ad0ad62b3f9a 100644 --- a/libc/utils/docgen/net/if.yaml +++ b/libc/utils/docgen/net/if.yaml @@ -10,4 +10,4 @@ functions: macros: IF_NAMESIZE: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/netinet/in.yaml b/libc/utils/docgen/netinet/in.yaml index 69cab9018184..513a4eda689e 100644 --- a/libc/utils/docgen/netinet/in.yaml +++ b/libc/utils/docgen/netinet/in.yaml @@ -56,4 +56,4 @@ macros: IN6_IS_ADDR_MC_ORGLOCAL: in-latest-posix: '' IN6_IS_ADDR_MC_GLOBAL: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/sys/resource.yaml b/libc/utils/docgen/sys/resource.yaml index 0b8ac2198532..2d7c34133b9d 100644 --- a/libc/utils/docgen/sys/resource.yaml +++ b/libc/utils/docgen/sys/resource.yaml @@ -40,4 +40,4 @@ macros: RUSAGE_SELF: in-latest-posix: '' RUSAGE_CHILDREN: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/sys/stat.yaml b/libc/utils/docgen/sys/stat.yaml index 86dc84a1e06d..7d38dabac131 100644 --- a/libc/utils/docgen/sys/stat.yaml +++ b/libc/utils/docgen/sys/stat.yaml @@ -42,7 +42,7 @@ macros: in-latest-posix: '' S_IXGRP: in-latest-posix: '' - + S_IRWXO: in-latest-posix: '' S_IROTH: @@ -115,4 +115,4 @@ functions: umask: in-latest-posix: '' utimensat: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/sys/time.yaml b/libc/utils/docgen/sys/time.yaml index a1d19c3fc636..1e3909adafea 100644 --- a/libc/utils/docgen/sys/time.yaml +++ b/libc/utils/docgen/sys/time.yaml @@ -2,4 +2,4 @@ functions: select: in-latest-posix: '' utimes: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/sys/wait.yaml b/libc/utils/docgen/sys/wait.yaml index 91d67ad4a358..3a50638ea4ac 100644 --- a/libc/utils/docgen/sys/wait.yaml +++ b/libc/utils/docgen/sys/wait.yaml @@ -34,4 +34,4 @@ macros: WUNTRACED: in-latest-posix: '' WCORE_DUMPED: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/docgen/termios.yaml b/libc/utils/docgen/termios.yaml index 81dd8da9f240..107b36423de0 100644 --- a/libc/utils/docgen/termios.yaml +++ b/libc/utils/docgen/termios.yaml @@ -31,7 +31,7 @@ macros: in-latest-posix: '' IGNBRK: in-latest-posix: '' - IGNCR: + IGNCR: in-latest-posix: '' IGNPAR: in-latest-posix: '' @@ -64,7 +64,7 @@ macros: in-latest-posix: '' OFILL: in-latest-posix: '' - + NLDLY: in-latest-posix: '' NL0: @@ -139,7 +139,7 @@ macros: in-latest-posix: '' B2400: in-latest-posix: '' - B4800: + B4800: in-latest-posix: '' B9600: in-latest-posix: '' @@ -231,13 +231,13 @@ functions: in-latest-posix: '' tcgetattr: in-latest-posix: '' - tcgetsid: + tcgetsid: in-latest-posix: '' tcgetwinsize: in-latest-posix: '' tcsendbreak: in-latest-posix: '' - tcsetattr: + tcsetattr: in-latest-posix: '' tcsetwinsize: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: '' diff --git a/libc/utils/mathtools/worst_case.sollya b/libc/utils/mathtools/worst_case.sollya index 3a8d11b3da44..7cb549c76025 100644 --- a/libc/utils/mathtools/worst_case.sollya +++ b/libc/utils/mathtools/worst_case.sollya @@ -1,6 +1,6 @@ // Implement WorstCase functions to compute the worst case for x mod C, with // the exponent of x ranges from emin to emax, and precision of x is p. -// Adapted to Sollya from the Maple function in +// Adapted to Sollya from the Maple function in // J-M. Muller, "Elementary Functions", 3rd ed, Section 11.3.2. // // Some examples: @@ -8,7 +8,7 @@ // 1) Worst case for trig range reduction fast passes: // // Single precision -// > WorstCase(24, -6, 32, pi/32, 128); +// > WorstCase(24, -6, 32, pi/32, 128); // numbermin : 10741887 // expmin : 7 // Worst case: 0x1.47d0fep30