On Saturday, 13 January 2018 at 22:51:18 UTC, kdevel wrote:
On Saturday, 13 January 2018 at 22:05:02 UTC, rumbu wrote:
Now it prints:
1.00+0.84147098480789650669
+0.8414709848078965066525023216302990 +2.653e-18
My values differ slightly
1.00
It was bad weather in Munich on Saturday, so run.dlang.io got a
couple of new cool features:
1) Assembly output
https://run.dlang.io/is/qtk8Wq
However, if you are seriously interested in looking at the ASM
output, I recommend https://d.godbolt.org for LDC and GDC.
2) AST of DMD frontend
It's been a work-in-progress for half a year, but finished now:
http://johanengelen.github.io/ldc/2018/01/14/Fuzzing-with-LDC.html
"A not-so-well-written article about the fuzzing capability
recently added to LDC, using LLVM’s libFuzzer. Compiling code
with -fsanitize=fuzzer adds control-flow
On Saturday, 13 January 2018 at 22:05:02 UTC, rumbu wrote:
Now it prints:
1.00+0.84147098480789650669
+0.8414709848078965066525023216302990 +2.653e-18
My values differ slightly
1.00 0.841470984807896506664591
0.8414709848078965066525023.653e-18
But I would
On Saturday, 13 January 2018 at 20:40:20 UTC, kdevel wrote:
On Saturday, 13 January 2018 at 19:28:40 UTC, rumbu wrote:
On Saturday, 13 January 2018 at 18:37:10 UTC, kdevel wrote:
I get large numerical dicrepancies and an exception:
That's because you are mixing floating point and decimal.
On Saturday, 13 January 2018 at 19:28:40 UTC, rumbu wrote:
On Saturday, 13 January 2018 at 18:37:10 UTC, kdevel wrote:
I get large numerical dicrepancies and an exception:
That's because you are mixing floating point and decimal.
Just to take one example: double 1.1 cannot be represented
On 12/15/2017 04:45 AM, Jacob Carlborg wrote:
On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote:
- The deperecated symbols have been removed (ie, the the outdated
pre-v1.0.0 interfaces).
If you have removed symbols that's a breaking API changes which should
bump the right most digit in
On Saturday, 13 January 2018 at 18:37:10 UTC, kdevel wrote:
I get large numerical dicrepancies and an exception:
That's because you are mixing floating point and decimal.
Just to take one example: double 1.1 cannot be represented
exactly as floating point and it's in fact
On Saturday, 13 January 2018 at 17:46:15 UTC, rumbu wrote:
The following code works:
real r;
for (r = 1; r < 6; r += .1L) {
decimal128 d = r;
auto dsin = sin (d);
auto rsin = sin (r);
auto delta = dsin - rsin; //delta is decimal128
writefln
On Saturday, 13 January 2018 at 14:43:53 UTC, rumbu wrote:
I received a suggestion to reorganize the file structure
because of some bug in dub
(https://issues.dlang.org/show_bug.cgi?id=11847). The dub.json
remained out of sync.
I changed it, but I am not 100% sure that it's working. I am
On Saturday, 13 January 2018 at 14:43:53 UTC, rumbu wrote:
On Saturday, 13 January 2018 at 13:56:20 UTC, kdevel wrote:
Now my code does no longer compiles against the decimal
package. This is my directory structure:
I received a suggestion to reorganize the file structure
because of some
On Saturday, 13 January 2018 at 14:43:53 UTC, rumbu wrote:
Personally I hate dub because it's polluting my %APPDATA%
folder and each time I connect my laptop to the company domain
network, I must wait to sync zillions of files.
Dub uses the roaming profile directory for its cache storage.
On Saturday, 13 January 2018 at 13:56:20 UTC, kdevel wrote:
Now my code does no longer compiles against the decimal
package. This is my directory structure:
I received a suggestion to reorganize the file structure because
of some bug in dub
On Saturday, 13 January 2018 at 13:49:59 UTC, kdevel wrote:
diff --git a/dub.json b/dub.json
index c48899f..d8882c1 100644
--- a/dub.json
+++ b/dub.json
@@ -10,16 +10,16 @@
"configurations": [
{
"name": "library",
-"excludedSourceFiles": [
On Saturday, 13 January 2018 at 13:44:20 UTC, kdevel wrote:
$ dub
Performing "debug" build using dmd for x86_64.
decimal ~master: building configuration "library"...
src/test/test.d(4,5): Error: only one main allowed. Previously
found main at src/benchmark/benchmark.d(143,5)
dmd failed with
On Saturday, 13 January 2018 at 01:30:12 UTC, rumbu wrote:
On Friday, 12 January 2018 at 13:09:42 UTC, kdevel wrote:
$ dmd nosine.d decimal.git/libdecimal.a
decimal/package.d(10505): Error: undefined identifier
decimalCapAngle
Sorry, broke some code when I made the split. Now it's working.
On Saturday, 13 January 2018 at 10:02:18 UTC, Jacob Carlborg
wrote:
On 2018-01-13 05:59, Martin Nowak wrote:
On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo
wrote:
Maybe worthwile to add this scaffolding to dub or some other
tool? Anyone volunteering?
This could be a good idea.
On Friday, 12 January 2018 at 15:44:01 UTC, Jack Stouffer wrote:
On Thursday, 21 December 2017 at 13:59:28 UTC, Jack Stouffer
wrote:
...
While I believe my library has certain API advantages, I'm
really not interested in duplicating a bunch of work when
rumbu's version is pretty much
On 2018-01-13 05:59, Martin Nowak wrote:
On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo wrote:
Maybe worthwile to add this scaffolding to dub or some other tool?
Anyone volunteering?
This could be a good idea. Probably even better is to let
code.dlang.org take care of it,
On Thursday, 14 December 2017 at 15:46:03 UTC, Walter Bright
wrote:
On 12/12/2017 10:37 AM, Seb wrote:
After it has been in stealth mode for quite a while, I'm happy
to announce that there's https://run.dlang.io
Very impressive! Nice work!
Can I add a suggestion? Have an option to show the
20 matches
Mail list logo