Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Scientific notation & HUTN
Scientific notation & HUTN [message #1714324] Wed, 11 November 2015 18:23 Go to next message
Max Strafes is currently offline Max StrafesFriend
Messages: 1
Registered: November 2015
Junior Member
Hi,

Can i use scientific notation for floating point numbers in an hutn file as show in the following example?

Model Code
<xyz xsi:type="master:ConstantDoubleVariable" value="1.0E-5"/>


HUTN Code
xyz:  ConstantDoubleVariable "ConstantDoubleVariable147" {
	value: 1.0E-5
}


Eclipse says "Unrecognised feature: E-5"
Is there any way to solve this?

Thanks in advance,
Max

Re: Scientific notation & HUTN [message #1714395 is a reply to message #1714324] Thu, 12 November 2015 11:14 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 599
Registered: January 2010
Location: Birmingham, UK
Senior Member

We've just added support for it:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=482001

Could you update to the latest interim version and let us know if it works for you? Things like "2e1", "23.0e+1" and "5E-5" should work fine.

http://download.eclipse.org/epsilon/interim/
Previous Topic:Error with custom plugin
Next Topic:[EGL] Documentation for EGX
Goto Forum:
  


Current Time: Mon Sep 23 21:38:02 GMT 2024

Powered by FUDForum. Page generated in 0.03074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top