The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 12:09pm
Pages: 1
Send Topic Print
Complex free quantity ? (Read 2979 times)
microsys
New Member
*
Offline



Posts: 1

Complex free quantity ?
Oct 08th, 2007, 5:41am
 
Hello designer's community!
I have a question about using free quantities types.
The sytax rule for a free quantity declaration specify that the type must be either a floating-point type or a composite type whose scalar elements are all floating point types.
Complex type is defined in IEEE.MATH_COMPLEX package as:

type COMPLEX is record RE, IM: real; end record;

Can I deduce that using of free quantities of complex type is allowed?
Thanks in advance for your answers.
Back to top
 
 
View Profile   IP Logged
Sameer Kher
New Member
*
Offline



Posts: 5

Re: Complex free quantity ?
Reply #1 - Oct 9th, 2007, 12:44pm
 
You are correct. As you have already pointed out, quantities can be of a composite type whose scalar sub-elements are floating point types.

You are also able to define composite branch quantities.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.