Comments (2)
We should improve the message to say: "All arguments to max() must have the same type and kind". So the error message for "max" must be improved, and the error message for "min" should give the same error message.
from lfortran.
min
does not throw a nice error message when arguments are of kind real with different precision, max
does, but if we check them with GFortran, both work fine.
Should we be throwing a better error message in the case of min
too or make it work regardless of different precision value like GFortran does?
from lfortran.
Related Issues (20)
- Remove old Fortran runtime library
- Character paramter array starting from index 0 gives out of bounds error HOT 1
- Failure while compiling code with character array HOT 1
- Location of lfortran runtime library `.mod` files HOT 6
- lfortran binaries HOT 18
- Compiling stdlib math HOT 3
- CMake Fortran_MODULE_DIRECTORY is not detected by LFortran
- LLVM: Instruction does not dominate all uses! HOT 2
- Compiling stdlib stats HOT 2
- Implement intrinsic `merge` HOT 3
- ASR->ASR: AssertFailed: x.m_symtab->get_symbol(item)
- Type mismatch in array initializer r32 and i32
- i32Both operands to a binary operator are not of the same type!
- Implement all intrinsic functions
- change `my_type_lt` to `lt_my_type`
- Kind 16 is not supported for Integer
- System V ABI (F77) HOT 1
- Add correct keywords for intrinsic functions
- Stdlib: Failure on large hexadecimal value in IntegerBOZ
- Printing support is not available for ) format.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lfortran.