Menu

#463 Allow infinity values in tables

v1.1.x
closed
None
v1.1.2
Change Request
2019-08-21
2019-03-21
Erik Hänel
No

Allow the infinity values inf and -inf in tables, because they are no invalid value.

Analysis:

This is a quite short fix: change the behavior in Memory::writeData() and search for conversion during the file loading in Datafile. Additional, ensure that the table viewer is capable of displaying inf and -inf and ensure that the TeX parser converts it to the correct TeX entity.

Implementation:

  • Implementation: The change was implemented as propsed by the analysis.
  • Revision: [r510]
  • Implementation test: Infinity values were written to a table, read by data() and exported into a TeX file. All deviations were fixed.

Documentation:

  • ChangesLog: updated
  • Comments: changed sections were commented sufficiently
  • Documentation articles: The documentation articles about data() and the caches() were updated correspondingly
  • Language files: Not needed

Tests:

This change was added to the automatic tests. No deviations occured.

Related

Commit: [r510]

Discussion

  • Erik Hänel

    Erik Hänel - 2019-03-21
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2019-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     Allow the infinity values `inf` and `-inf` in tables, because they are no invalid value.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2019-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Allow the infinity values `inf` and `-inf` in tables, because they are no invalid value.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +This is a quite short fix: change the behavior in `Memory::writeData()` and search for conversion during the file loading in `Datafile`. Additional, ensure that the table viewer is capable of displaying `inf` and `-inf` and ensure that the TeX parser converts it to the correct TeX entity.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2019-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     This is a quite short fix: change the behavior in `Memory::writeData()` and search for conversion during the file loading in `Datafile`. Additional, ensure that the table viewer is capable of displaying `inf` and `-inf` and ensure that the TeX parser converts it to the correct TeX entity.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The change was implemented as propsed by the analysis.
    +* Revision: [r510]
    +* Implementation test: Infinity values were written to a table, read by `data()` and exported into a TeX file. All deviations were fixed.
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: updated
    +* Comments: changed sections were commented sufficiently
    +* Documentation articles: The documentation articles about `data()` and the `caches()` were updated correspondingly
    +* Language files: Not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r510]

  • Erik Hänel

    Erik Hänel - 2019-08-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: Not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +This change was added to the automatic tests. No deviations occured.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB