Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2775

static assert fails in src/thrift/internal/ctfe.d

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.2
    • D - Library
    • None
    • openSUSE 13.1 (i586)
      DMD Compiler v2.066.0
      german locale

    Description

      make check in d/lib fails with

      src/thrift/internal/ctfe.d(94): Error: static assert  (ctfeToString(3.1415) == "3.1415") is false
      

      because ctfeToString(3.1415) evaluates to "3.14149999999999"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment