In Fortran dim(x,y) returns the difference x-y if the result is positive; otherwise returns zero. What was it intended to be used for? What is the meaning behind the name dim?
Presumably it comes from dimension, i.e., the length, width, height of something. Since none of these values can be negative it's calculated as the positive difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With