# VERILOG2057: Implicit conversion from a floating point value to an narrower floating point value should be reviewed ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, simulation, linter |
function automatic f(real r); shortreal s = r; endfunction
function automatic f(real r); shortreal s = shortreal'(r); endfunction
A floating point value is implicitly converted to a narrower floating point type.
This is not necessarily wrong but make sure that it is really what was supposed to be implemented. If so, add an explicit cast.
``` ## Parameters No parameters. ```{raw} html ```