Better ways of expressing "KIND" 
Author Message
 Better ways of expressing "KIND"


Quote:
>You don't need to worry about the machine numbers for KIND of integer
>and real unless you want to.  You can get default and you can specify
>range and precision, as in

>REAL (SELECTED_REAL_KIND (9, 70) X

                                 ^ missing a ) I presume?

Quote:

>which gives X 9 digits of precision and a range to 10**70.
>This is not as beautiful as previously proposed, but does provide
>the functionality and avoids some problems.

So we will be able to select KIND of integer by range?  Is it something
like SELECTED_INTEGER_KIND(lowest, highest) or some such?  If so, I will
be sufficiently happy (concerning this issue).

   _____________________________________
  / David Halliday                      \
  |                                     |


  | Us Mail:     BYU Physics Department |
  |              296 ESC                |
  |              Provo, UT  84602       |
  \_____________________________________/



Tue, 17 Nov 1992 22:40:00 GMT  
 Better ways of expressing "KIND"

Quote:

> So we will be able to select KIND of integer by range?  Is it something
> like SELECTED_INTEGER_KIND(lowest, highest) or some such?  If so, I will
> be sufficiently happy (concerning this issue).

SELECTED_INT_KIND (5) gives a range _between_ -10**5 and 10**5, i.e. 5 digits.




Tue, 17 Nov 1992 22:50:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Better ways of expressing "KIND" (was dpANS Fortran 8x)

2. Creating special kind of "application"?

3. A question about "kind"?

4. "C Express" Disks

5. string.join(["Tk 4.2p2", "Python 1.4", "Win32", "free"], "for")

6. BEGIN{want[]={"s1o", "s2o", "s2q", "s3q"}

7. Parsing ""D""?

8. "Fifth", "Forth", zai nar?

9. Ruby "finalize", "__del__"

10. beginners "let"/"random" question

11. ANNOUNCE: new "plus"- and "dash"-patches available for Tcl7.5a2/Tk4.1a2

12. Looking for "stdin", "stdout"

 

 
Powered by phpBB® Forum Software