Iain Buclaw
|
7be45e8e01
|
unittest: Don't run x87 log2 test on 64-bit real targets
|
2025-01-19 15:45:14 +01:00 |
|
Dennis
|
13816d78f3
|
Reduce imports needed to print floats (#8890)
|
2024-01-10 17:46:22 +02:00 |
|
Dennis
|
5cd77a6e32
|
User hyperlinks to refer to bugzilla issues (#8766)
|
2023-06-16 14:45:44 +03:00 |
|
Per Nordlöw
|
46d416fa9d
|
Qualify some function parameters under std.format as const to reduce template bloat
|
2021-09-22 23:12:15 +00:00 |
|
Martin Nowak
|
7a461990da
|
Merge remote-tracking branch 'upstream/stable' into merge_stable
|
2021-06-04 13:02:58 +02:00 |
|
Martin Kinkelin
|
679521d44e
|
std.format.internal.floats: Restore compilability of unittests for targets with quadruple real precision
Such as non-Apple AArch64; `printFloat()` doesn't support that format.
|
2021-06-03 07:56:06 +00:00 |
|
berni44
|
85afd3555f
|
std.format: Clean up rounding of floats.
|
2021-05-20 17:59:09 +08:00 |
|
berni44
|
9205a37823
|
std.format: Use rounding tool to round %f on floats.
|
2021-05-14 20:56:30 +02:00 |
|
Razvan Nitu
|
d154c239c4
|
Merge pull request #8050 from berni44/rounding_e
std.format: Use rounding tool to round %e on floats.
|
2021-05-14 14:38:42 +08:00 |
|
Razvan Nitu
|
dba3cbc88c
|
Merge pull request #8059 from berni44/rounding_a
std.format: Use rounding tool to round %a on floats.
|
2021-05-13 14:35:19 +08:00 |
|
berni44
|
3b4dc67878
|
Make unittests in std.format @safe
|
2021-05-11 16:13:09 +02:00 |
|
berni44
|
73b1ab5f9d
|
std.format: Use rounding tool to round %a on floats.
|
2021-05-10 10:37:03 +02:00 |
|
berni44
|
6bcc66a071
|
std.format: Remove outdated printFloatTest (#8054)
|
2021-05-09 21:37:08 +08:00 |
|
berni44
|
e245115274
|
std.format: Use rounding tool to round %e on floats.
|
2021-05-07 17:08:41 +02:00 |
|
berni44
|
e53d010def
|
extractBitpattern: Add implied bit to mantissa and subtract bias from exponent.
|
2021-05-07 09:37:18 +02:00 |
|
berni44
|
8d97da17d0
|
Move bitpattern extraction from std.format to std.math.
|
2021-04-30 09:37:22 +02:00 |
|
berni44
|
3206e52aae
|
Clean up after making formating floating point numbers @nogc.
|
2021-04-27 13:18:11 +02:00 |
|
The Dlang Bot
|
fe172268e8
|
Merge pull request #8007 from berni44/float_f_nogc
std.format: Make formatting %f (and %g partly) 100% @nogc.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
|
2021-04-24 12:55:55 +02:00 |
|
The Dlang Bot
|
6b14e37a4c
|
Merge pull request #8006 from berni44/float_e_nogc
std.format: Make formatting %e (and partly %g) 100% @nogc.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
|
2021-04-24 12:12:43 +02:00 |
|
berni44
|
b6a51524f3
|
std.format: Make formatting %f (and %g partly) 100% @nogc.
|
2021-04-24 10:57:31 +02:00 |
|
berni44
|
22530aa775
|
std.format: Make formatting %e (and partly %g) 100% @nogc.
|
2021-04-24 10:31:57 +02:00 |
|
berni44
|
47e39640fd
|
std.format: Make formatting with %a 100% @nogc.
|
2021-04-24 10:18:27 +02:00 |
|
berni44
|
cd6b8d9e91
|
std.format: Make formatting 0.0 100% @nogc.
|
2021-04-24 16:15:10 +08:00 |
|
berni44
|
110cb1a8be
|
Fix Issue 21853 - std.format: formatting real.max in CTFE fails
|
2021-04-24 02:52:53 +02:00 |
|
Razvan Nitu
|
0881660baf
|
Merge pull request #7971 from berni44/float_naninf_nogc
std.format: Make formatting nan and inf 100% @nogc.
|
2021-04-23 15:28:20 +08:00 |
|
berni44
|
b2019ebab0
|
Narrow imports of std.math in the rest of phobos.
|
2021-04-21 03:00:57 +02:00 |
|
berni44
|
c185252980
|
std.format: Make formatting nan and inf 100% @nogc.
|
2021-04-18 20:51:35 +02:00 |
|
berni44
|
29de9999e3
|
std.format: Add %a for x87-reals
|
2021-04-11 16:14:43 +08:00 |
|
berni44
|
3e3b71f145
|
std.format: Add %g for x87-reals
|
2021-04-11 07:31:26 +08:00 |
|
berni44
|
159eff6b1f
|
std.format: Add %e for x87-reals
|
2021-04-09 09:59:34 +02:00 |
|
berni44
|
96ee071156
|
Fix Issue 17381 - Checked format string is permissive after floating point argument
|
2021-03-31 12:28:22 +02:00 |
|
berni44
|
da3327c86a
|
std.format: Add %f for x87-reals
|
2021-03-24 13:31:11 +01:00 |
|
berni44
|
cfee36ce08
|
std.format: Add x87-reals (step 1) - extract bit patterns
|
2021-03-22 16:49:32 +01:00 |
|
Nathan Sashihara
|
dcb0636ca5
|
Decrease top-level imports of std.format in submodules of std.format
|
2021-03-21 02:00:08 +01:00 |
|
berni44
|
8eda3d48aa
|
Add assert messages for std.format.internal.floats
|
2021-03-16 15:54:26 +01:00 |
|
berni44
|
2492943c77
|
std.format: Add %g (final step)
|
2021-03-13 11:11:10 +01:00 |
|
berni44
|
c0cc85351a
|
std.format: Add %g (step 8): Small fixes
|
2021-03-13 00:34:21 +01:00 |
|
berni44
|
c6efda92ef
|
std.format: Add %g (step 7): Change calculating the split
|
2021-03-12 12:10:08 +01:00 |
|
berni44
|
50ed366c99
|
std.format: Add %g (step 6): %f like formatting
|
2021-03-08 17:48:50 +01:00 |
|
berni44
|
2e5d6ba461
|
std.format: Add %g (step 5): %e like formatting
|
2021-03-02 15:01:34 +01:00 |
|
Nathan Sashihara
|
52da0ef73c
|
Throughout Phobos use core.math intrinsics instead of std.math wrappers
Followup to PR #7821.
|
2021-03-02 07:09:08 +01:00 |
|
berni44
|
4421ecb77e
|
std.format: Add %g (step 4): Formatting 0.0
|
2021-03-02 06:21:40 +01:00 |
|
berni44
|
1100b9498f
|
std.format: Add unittests for %g (step 2).
|
2021-03-01 13:27:02 +01:00 |
|
berni44
|
0b16c92201
|
std.format: Add %g (step 3): Add template parameter to printFloatE/F.
|
2021-03-01 12:31:32 +01:00 |
|
berni44
|
15833dad6c
|
std.format: Prepare to add %g (step 1).
|
2021-03-01 02:49:06 +01:00 |
|
berni44
|
b764e63375
|
std.format: Refactor internal/float.d
|
2021-02-24 17:05:54 +01:00 |
|
berni44
|
cec24c5289
|
Move floating point algorithms into internal submodule.
|
2021-02-17 18:06:49 +01:00 |
|