Project

General

Profile

Bug #58

int to long long int

Added by Hamza Bourbouh over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Urgent
Category:
Bug
Start date:
12/07/2017
Due date:
% Done:

0%


Description

In C code generated from lustre, int is kept as int in C. Big constants in Lustre raises some range exception.
Changing int to long long int may solve the problem.

datatypeconversion13_PP.lus (994 Bytes) Hamza Bourbouh, 04/07/2018 04:05 AM

History

#1 Updated by Hamza Bourbouh 12 months ago

Comment

I added a test file.
The issue is coming when executing the binary:
./datatypeconversion13_PP_datatypeconversion13_PP
In20_1 (double) ? 1
Floating point exception: 8

#2 Updated by Pierre-Loïc Garoche 10 months ago

  • Status changed from New to Closed
Comment

Already supported by option -real or -int

Also available in: Atom PDF