Skip to content

pow is transformed to exp2 if the target doesn't have exp2 #9315

@llvmbot

Description

@llvmbot
Bugzilla Link 8943
Resolution WORKSFORME
Resolved on Mar 03, 2014 04:45
Version trunk
OS Windows NT
Blocks #7187
Reporter LLVM Bugzilla Contributor
CC @AaronBallman,@lattner

Extended Description

I got undefined reference to `exp2' from this line of code:

r->f = a->f * pow(2., n.f);

exp2 doesn't seem to be in the C89 standard, so this transformation is a bug most likely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions