Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367207 - [Xbase] arithmetic operator precision
Summary: [Xbase] arithmetic operator precision
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M5   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 367205 368335
  Show dependency tree
 
Reported: 2011-12-20 10:59 EST by Sven Efftinge CLA
Modified: 2017-09-19 17:37 EDT (History)
2 users (show)

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-12-20 10:59:06 EST
Overload all variants such that
E.g. 1 + 1L returns '2L' not '2'
Comment 1 Jan Koehnlein CLA 2012-01-05 09:42:22 EST
Removed boxed variants of all arithmetic operators and expanded all possibilities with regard to Java's binary numeric promotion rules (http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#170983)

Pushed to MASTER.
Comment 2 Karsten Thoms CLA 2017-09-19 17:26:23 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:37:46 EDT
Closing all bugs that were set to RESOLVED before Neon.0