FYI
This program has been created automatically by DeepSeek AI (this is free to use for now):
Prompt used:
1. Can you create a floating point addition function written in TSE SAL language? Input 2 floating point numbers and output a floating point number"
2. and later in another prompt added handling negative numbers.
Note: I tried Claude AI (paid) first, but too many errors and I reached the limit of asking questions (then you have to wait 3 hours or more to be able. So started anew in DeepSeek from scratch. So I would say that is (again) a fail for Claude AI to create a TSE SAL program without significant errors. So DeepSeek AI is the much better choice for now.
Note: Workflow: I input first a list of TSE rules which I have stored in a file and continue to improve, then after pasting those TSE SAL rules create my prompts. Then I get output running the generated program in TSE. Any errors I feed back into DeepSeek together with new prompt updates until I get a working TSE SAL program.
Note: Example:
-100 + 0.12345678901234567890 = -99.87654321098765432110
3. See attachment.
4. If you use it and catch any errors (given that you type valid floating point input), let me know.
Thanks
with friendly greetings
Knud van Eeden