-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of REAL types within the SCADE model #522
Comments
@BenjaminBeichler @T12z yould you please detail on your design decisions for REAL type variables listing all use cases. |
Sorry for the delayed response Marc, we do have the SDM_Types_Pkg that centrally defines the types we use within Supervision. The basic types that map to real are:
The basic decisions that led to this:
Having said that, I am also aware of:
On a last 50ct, with the Scade version we are using, no types are strongly typed. When I compiled for nanoETCS I had to keep in mind that int is only guaranteed to have 16bit by C standards. |
(groooming "my" issues) As an updated information on SDM, when possible, I have started to refactor / clean away floats where they do not make a difference. (e.g. SDM_Commands - the SDM decision / output module, relating to SRS 26 / 3.13.10) The lambda-brake model has been done without ints where possible. Unfortunately there are basic types that have needlessly been defined real. I already had discussions on that but there was no action feedback to clean it up. |
Dear developers,
since there are currently some restrictions in the usage of REAL typed variables in the railway sector, I would like to invite you to list here the use cases of the variabel you want to have typed REAL in order to clarify what the rationale is behind it.
The text was updated successfully, but these errors were encountered: