Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6447

Use StrictMath for more functions in SYSFUN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.11.1.1
    • 10.11.1.1
    • SQL
    • None
    • Normal
    • Release Note Needed

    Description

      Most of the functions in the SYSFUN schema use methods in java.lang.StrictMath directly. A few of them use methods in SystemProcedures instead. Java 1.5 added more methods to StrictMath, so it is now possible to make more of the functions use StrictMath and drop the implementation in SystemProcedures:

      • LOG10 could use StrictMath.log10()
      • COSH could use StrictMath.cosh()
      • SINH could use StrictMath.sinh()
      • TANH could use StrictMath.tanh()

      Attachments

        1. releaseNote.html
          5 kB
          Knut Anders Hatlen
        2. d6447-1a.diff
          12 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: