8/22/2023 11:29 AM | |
Joined: 5/17/2022 Last visit: 10/31/2024 Posts: 2 Rating:
|
Thank you for your entry, but this project contain only MainOB1 and one network. this is assigment list. |
8/22/2023 12:07 PM | |
Joined: 3/11/2019 Last visit: 9/1/2025 Posts: 1653 Rating:
|
Hi, first of all, Mr.V is correct.
The binary representation of 16#0000_0001 is "0000_0000_0000_0000_0000_0000_0000_0001", which is way outside of the range of Real can handle. So, first - use seperate/own tags for datatype "Real" and not markers. Following FAQ may be helpful: How accurately can I calculate with REAL numbers that are used in extensive formulas?Why is a difference detected in the "Compare real numbers for equality" operation although the floating-point numbers are equal in the status?How do you check real numbers for parity?*****EDIT****** The smallest *positive* value represented in Real is "+1.175495e-38" -> 16#0080_0005 Up from this value the COMP should work REAL-> +1.175495e-38 to +3.402823e+38 regards sancruz |
Last edited by: sancruz at: 08/22/2023 12:09:02Last edited by: sancruz at: 08/22/2023 12:18:00Last edited by: sancruz at: 08/22/2023 12:29:42Feedback appreciated, please rate |
|
Follow us on