Skip to content


float! and float64! not completely compatible #300

meijeru opened this Issue · 3 comments

3 participants


I am sorry to go on nagging, but look at this:

v: declare pointer![float64!] d: 1.0 v: :d

-= Red/System Compiler =-
Compiling tests/mytest.reds ...
*** Compilation Error: attempt to change type of variable: v
*** from: [pointer! [float64!]]
***   to: [pointer! [float!]]

If I remember correctly, float! -> float64! casting and/or float32! -> float64! casting is not implemented.


But float! and float64! are synonyms, so casting shouldn't be needed?

Red Programming Language member

@iceflow19 float! -> float32! -> float! castings are implemented since this summer at least. Let me know if you find bugs in using them.

Float! and float64! are synonyms.

@dockimbel dockimbel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.