phobos icon indicating copy to clipboard operation
phobos copied to clipboard

The standard library of the D programming language

Results 121 phobos issues
Sort by recently updated
recently updated
newest added

As I understood Phobos does not contain any functions for converting text strings to byte array hexString - template(not usable in runtime parse, to - cannot convert into byte array

Atila Neves

Hello -- As mentioned in the bug report, this fixes a potential buffer overflow in zlib. It is a combined diff from https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1 and https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d I wasn't sure whether this...

Fix issue 23140: [https://issues.dlang.org/show_bug.cgi?id=23140](https://issues.dlang.org/show_bug.cgi?id=23140)

Bug Fix
Regression

However, this is still draft because the compiler ICEd when testing

Needs Work
Blocked
stalled

This is off Atila's #8101 . I wanted to create the PR against his fork but GitHub didn't allow that. I tried to reproduce the safety bug @Geod24 found, but...

This is a work in progress to use ImportC to compile all the .c files in Phobos.

WIP
Easy Review
ImportC

Software implementations are unchanged - only conditionally compiling in the `log(x) = z + z^^3 R(z) / S(z)` branch depending on the float format (as can be seen when reviewing...

math

So that `std.complex` can be passed to extern(C) complex functions where ABI compatibility is required.

math
Easy Review
Atila Neves

Double precision is enough for most cases, and results in [faster code than x87](https://d.godbolt.org/z/3E6n7ba4c). Not doing float precision, because existing tests don't account for an even higher loss of [precision](https://github.com/dlang/phobos/blob/ea805977656309e1d8f23b30130ecf8632056b1b/std/math/exponential.d#L147)....

Blocked
math

The previous implementation was just terrible, presumably dating back to when `align(N)` was buggy.

Blocked
Refactoring