Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIf it's a pure simulation problem, it's very easy. As in most programming languages, you have to convert the type of at least A or B before the division.
If the code is intended for synthesis, you hav eto decide about a suitable number format first, e.g. single precision float and use respective Megafunctions.