On Friday, 10 January 2020 at 00:08:44 UTC, Johan wrote:
On Friday, 10 January 2020 at 00:02:52 UTC, Johan wrote:
[...]
You have to tell LDC that you are compiling for a CPU that has
FMA capability (otherwise it will insert a call to a "fma"
runtime library function that most likely you are
On Friday, 10 January 2020 at 00:02:52 UTC, Johan wrote:
For LDC:
```
double fma(double a, double b, double c)
{
import ldc.llvmasm;
return __irEx!(
`declare double @llvm.fma.f64(double %a, double
%b, double %c)`,
`%r = call double @llvm.fma.f64(double %0,
On Thursday, 9 January 2020 at 22:50:37 UTC, Ben Jones wrote:
On Thursday, 9 January 2020 at 20:57:10 UTC, Ben Jones wrote:
What's the easiest way to use the FMA instruction (fused
multiply add that has nice rounding properties)? The FMA
function in Phobos just does a*b +c which will round
On Thursday, 9 January 2020 at 20:57:10 UTC, Ben Jones wrote:
What's the easiest way to use the FMA instruction (fused
multiply add that has nice rounding properties)? The FMA
function in Phobos just does a*b +c which will round twice.
Do any of the intrinsics libraries include this?
On Thursday, 9 January 2020 at 13:04:33 UTC, Marcone wrote:
I am creating a GUI using winsamp.d as model.
See the window here: https://i.ibb.co/ZJ4v2KD/Sem-t-tulo.png
I want to ask a user for choose a color when click
Configuration/Color, and then change backgroud color of GUI.
But how can I
What's the easiest way to use the FMA instruction (fused multiply
add that has nice rounding properties)? The FMA function in
Phobos just does a*b +c which will round twice.
Do any of the intrinsics libraries include this? Should I write
my own inline ASM?
I am creating a GUI using winsamp.d as model.
See the window here: https://i.ibb.co/ZJ4v2KD/Sem-t-tulo.png
I want to ask a user for choose a color when click
Configuration/Color, and then change backgroud color of GUI. But
how can I create a Color Dialog? There's dlang example in the web
and I
On Wednesday, 8 January 2020 at 19:31:13 UTC, H. S. Teoh wrote:
Personally I prefer using SCons (https://scons.org/), but there
are plenty of similar build systems out there, like tup, Meson,
CMake, etc.. There are also fancier offerings that double as
package managers like Gradle, but from
On Wednesday, 8 January 2020 at 15:44:24 UTC, user1234 wrote:
yeah there's one. DUB does the same as you script with the
following options:
dub build --parallel --build-mode=singleFile
I just gave it a try, and it stopped with a warning on some file.
After fixing the file, I relaunched
On Wednesday, 8 January 2020 at 19:55:57 UTC, H. S. Teoh wrote:
Use dmd -i should solve the problem.
Oh, thanks, now it works... (Have been using rdmd too long, so I
always forget about other modules to be included.)
On Wednesday, January 8, 2020 10:56:20 PM MST rikki cattermole via
Digitalmars-d-learn wrote:
> Slicing via the opSlice operator overload is a convention, not a
> requirement.
It's not a requirement, but it's more than a convention. If you use the
container with foreach, the compiler will call
On Wednesday, January 8, 2020 10:28:23 PM MST Alex Burton via Digitalmars-d-
learn wrote:
> I am writing a specialised container class, and want to make it
> work like a normal array with range functions.
> After some struggle, I look at the code for std.container.array
> and see this comment :
>
On Wednesday, January 8, 2020 2:58:59 PM MST Marcel via Digitalmars-d-learn
wrote:
> On Wednesday, 8 January 2020 at 07:03:26 UTC, Jonathan M Davis
>
> wrote:
> > On Tuesday, January 7, 2020 5:23:48 PM MST Marcel via
> >
> > Digitalmars-d-learn wrote:
> >> [...]
> >
> > In terms of an error
13 matches
Mail list logo