Project

General

Profile

Bug #7401

int_to_float is not supported for constant expressions

Added by Alexander Protsenko almost 3 years ago.

Status:
New
Priority:
Normal
Category:
nML
Target version:
-
Start date:
07/14/2016
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

Error:

641:18 ERROR (SEMANTIC): "int_to_float is not supported for constant expressions." 
641:18 ERROR (SEMANTIC): "Failed to recognize the grammar structure. It will be ignored: 'int_to_float(FLOAT32,coerce(WORD,1))'." 

Code:

temp_fp_s = int_to_float(FLOAT32, coerce(WORD, 1));

Also available in: Atom PDF