English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: deimos
Forum: Coders. C/C++ 13 July 2021, 21:19
Replies: 28
Views: 3,223
Posted By deimos
You've just made up my mind. I have better, more...

You've just made up my mind. I have better, more interesting things to do than develop for the Amiga.
Forum: Coders. C/C++ 13 July 2021, 19:53
Replies: 28
Views: 3,223
Posted By deimos
I have no interest in translating from IEEE to...

I have no interest in translating from IEEE to FFP. I just want to construct FFP numbers.

In any case, there can be no such thing as a perfect job of translating between the formats, as they have...
Forum: Coders. C/C++ 13 July 2021, 19:12
Replies: 28
Views: 3,223
Posted By deimos
And, of course, that's a perfectly valid and...

And, of course, that's a perfectly valid and useful thing to do, it's just not the thing I want to do. I want to create a perfect 1:1 compatibility with the Motorola format. I don't think the C++...
Forum: Coders. C/C++ 13 July 2021, 14:15
Replies: 28
Views: 3,223
Posted By deimos
I have also just found this: ...

I have also just found this:

https://github.com/xroche/ieee754toy

Which looks like it does a more advanced version of what I'm trying to do. I'm still trying to understand it properly, it uses...
Forum: Coders. C/C++ 13 July 2021, 11:17
Replies: 28
Views: 3,223
Posted By deimos
So, something like this: // to do,...

So, something like this:


// to do, this afternoon
constexpr FFP composeffp(const LONG mantissa, const LONG exponent) {
return exponent;
}

constexpr FFP r(const char...
Forum: Coders. C/C++ 08 July 2021, 14:40
Replies: 28
Views: 3,223
Posted By deimos
I don't want to.

I don't want to.
Forum: Coders. C/C++ 08 July 2021, 13:46
Replies: 28
Views: 3,223
Posted By deimos
Yes, but ieee floats and ffp floats are...

Yes, but ieee floats and ffp floats are functionally different and I don't want to convert between them.
Forum: Coders. C/C++ 08 July 2021, 13:13
Replies: 28
Views: 3,223
Posted By deimos
Because ieee sp floats and ffp floats aren't...

Because ieee sp floats and ffp floats aren't exactly equivalent, they cover different ranges, plus I want to guarantee 100% consistency between the compile time behaviour and the ffp assembly code...
Forum: Coders. C/C++ 08 July 2021, 12:12
Replies: 28
Views: 3,223
Posted By deimos
It's almost what I want - I do want the source to...

It's almost what I want - I do want the source to be the text values rather than ieee floats.

But, my question was, how will that work with the cross compilation environment I outlined in

post...
Forum: Coders. C/C++ 08 July 2021, 11:45
Replies: 28
Views: 3,223
Posted By deimos
Probably needed some explanation and context. ...

Probably needed some explanation and context.

How will that approach work with cross compilation? I'll obviously not be able to use my existing a2r function.
Forum: Coders. C/C++ 08 July 2021, 10:48
Replies: 28
Views: 3,223
Posted By deimos
This is what I'm currently doing: ...

This is what I'm currently doing:


#include "../real_constants.h"

static VertexComponentData yVertexComponentData = {
.numTouchValues = 2,
.numTotalValues = 4,
...
Forum: Coders. C/C++ 08 July 2021, 10:41
Replies: 28
Views: 3,223
Posted By deimos
Vamos seems like a good idea to make sure I'm...

Vamos seems like a good idea to make sure I'm using the same conversion code regardless of whether I'm converting at compile or runtime.

I think I'll look for something else for the text...
Forum: Coders. C/C++ 07 July 2021, 20:19
Replies: 28
Views: 3,223
Posted By deimos
I've had a quick look at that, and will look...

I've had a quick look at that, and will look deeper tomorrow. It looks like you've tried to do much the same as me, but maybe got further than I have.

One of the problems I have is the static...
Forum: Coders. C/C++ 07 July 2021, 20:09
Replies: 28
Views: 3,223
Posted By deimos
Well, that kind of validates one of the ideas I...

Well, that kind of validates one of the ideas I have at the moment, to write a GCC preprocessor, which seems to be a supported, if underdocumented thing.

Trouble mostly is that I'd have to write a...
Forum: Coders. C/C++ 07 July 2021, 11:59
Replies: 28
Views: 3,223
Posted By deimos
Question Generating FFP values at compile time

I'm working with FFP format floating point numbers, using C++ Bartman's GCC environment, cross compiling from Windows.

I have a type, real, that's really just a LONG with a bunch of overloaded...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT +2. The time now is 07:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.05943 seconds with 10 queries