Check-in [b1dc06b0f7]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merged fork
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b1dc06b0f797882ec40d381179f86f0f2fffda7d11e240e2963f7c1451b58ee2
User & Date: pspjuth 2018-10-22 14:01:31
Context
2018-10-22
18:46
Implementation for 523 check-in: a90f7fe90e user: pspjuth tags: trunk
14:01
Merged fork check-in: b1dc06b0f7 user: pspjuth tags: trunk
13:58
Format fixes in 523 check-in: b60b2a059b user: pspjuth tags: trunk
13:56
Make returns from [fpclassify] lowercase check-in: 43618a48c1 user: kennykb tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to index.json.

521
522
523
524
525
526
527
528
	"4":{"url":"./tip/4.md","created":"26-Oct-2000","post-history":"","state":"Draft","vote":"Pending","type":"Informative","title":"# TIP 4: Tcl Release and Distribution Philosophy","discussions-to":"news:comp.lang.tcl","author":["Brent Welch <[email protected]>","Donal K. Fellows <[email protected]>","Larry W. Virden <[email protected]>","Larry W. Virden <[email protected]>"],"is-jest":false},
	"3":{"url":"./tip/3.md","created":"14-Sep-2000","post-history":"","state":"Accepted","vote":"Done","type":"Process","title":"# TIP 3: TIP Format","author":["Andreas Kupries <[email protected]>","Donal K. Fellows <[email protected]>"],"is-jest":false},
	"2":{"url":"./tip/2.md","created":"12-Sep-2000","post-history":"","state":"Draft","vote":"Pending","type":"Process","title":"# TIP 2: TIP Guidelines","author":["Andreas Kupries <[email protected]>","Donal K. Fellows <[email protected]>","Don Porter <[email protected]>","Mo DeJong <[email protected]>","Larry W. Virden <[email protected]>","Kevin Kenny <[email protected]>"],"is-jest":false},
	"1":{"url":"./tip/1.md","created":"14-Sep-2000","post-history":"","state":"Active","vote":"No voting","type":"Informational","title":"# TIP 1: TIP Index","author":["TIP Editor <[email protected]>"],"is-jest":false},
	"0":{"url":"./tip/0.md","created":"11-Dec-2000","post-history":"","state":"Final","vote":"Done","type":"Process","title":"# TIP 0: Tcl Core Team Basic Rules","author":["John Ousterhout <[email protected]>"],"is-jest":false},
	"@min": 0,
	"@max": 523
}, "@timestamp": 1540190587}






|
521
522
523
524
525
526
527
528
	"4":{"url":"./tip/4.md","created":"26-Oct-2000","post-history":"","state":"Draft","vote":"Pending","type":"Informative","title":"# TIP 4: Tcl Release and Distribution Philosophy","discussions-to":"news:comp.lang.tcl","author":["Brent Welch <[email protected]>","Donal K. Fellows <[email protected]>","Larry W. Virden <[email protected]>","Larry W. Virden <[email protected]>"],"is-jest":false},
	"3":{"url":"./tip/3.md","created":"14-Sep-2000","post-history":"","state":"Accepted","vote":"Done","type":"Process","title":"# TIP 3: TIP Format","author":["Andreas Kupries <[email protected]>","Donal K. Fellows <[email protected]>"],"is-jest":false},
	"2":{"url":"./tip/2.md","created":"12-Sep-2000","post-history":"","state":"Draft","vote":"Pending","type":"Process","title":"# TIP 2: TIP Guidelines","author":["Andreas Kupries <[email protected]>","Donal K. Fellows <[email protected]>","Don Porter <[email protected]>","Mo DeJong <[email protected]>","Larry W. Virden <[email protected]>","Kevin Kenny <[email protected]>"],"is-jest":false},
	"1":{"url":"./tip/1.md","created":"14-Sep-2000","post-history":"","state":"Active","vote":"No voting","type":"Informational","title":"# TIP 1: TIP Index","author":["TIP Editor <[email protected]>"],"is-jest":false},
	"0":{"url":"./tip/0.md","created":"11-Dec-2000","post-history":"","state":"Final","vote":"Done","type":"Process","title":"# TIP 0: Tcl Core Team Basic Rules","author":["John Ousterhout <[email protected]>"],"is-jest":false},
	"@min": 0,
	"@max": 523
}, "@timestamp": 1540216583}

Changes to tip/521.md.

80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
	
The set of Tcl commands shall be augmented with the following:

  * `fpclassify` _value_
  
  > Returns one of the following strings:
  
  > > `ZERO` - _value_ is a floating point zero

  > > `SUBNORMAL` - _value_ is the result of a gradual underflow

  > > `NORMAL` - _value_ is an ordinary floating-point number (not zero, subnormal, infinite, nor NaN).

  > > `INFINITE` - _value_ is a floating-point infinity
  
  > > `NAN` - _value_ is Not-a-Number.
  
  > Throws an error if _value_ is not a floating-point value.
  
# Reference implementation

To be developed.

# Note

This TIP is intended as a companion TIP to [TIP 520](520.md), but
the functions are thought to be useful irrespective of whether 520
is accepted. Hence, it is being proposed separately.






|

|

|

|

|












80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
	
The set of Tcl commands shall be augmented with the following:

  * `fpclassify` _value_
  
  > Returns one of the following strings:
  
  > > `zero` - _value_ is a floating point zero

  > > `subnormal` - _value_ is the result of a gradual underflow

  > > `normal` - _value_ is an ordinary floating-point number (not zero, subnormal, infinite, nor NaN).

  > > `infinite` - _value_ is a floating-point infinity
  
  > > `nan` - _value_ is Not-a-Number.
  
  > Throws an error if _value_ is not a floating-point value.
  
# Reference implementation

To be developed.

# Note

This TIP is intended as a companion TIP to [TIP 520](520.md), but
the functions are thought to be useful irrespective of whether 520
is accepted. Hence, it is being proposed separately.