Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused 'isnanf' and 'isinff' functions #262

Merged
merged 1 commit into from
Nov 11, 2023

Commits on Nov 11, 2023

  1. Remove unused 'isnanf' and 'isinff' functions

    The introduction of SoftFloat for F extension implementation renders
    'isnanf' and 'isinff' functions unnecessary. These functions were
    causing compilation warnings due to being unused.
    
    The commit addresses the following warnings:
    src/emulate.c:18:19: warning: unused function 'isinff' [-Wunused-function]
    static inline int isinff(float x)
    ^
    src/emulate.c:22:19: warning: unused function 'isnanf' [-Wunused-function]
    static inline int isnanf(float x)
    ^
    2 warnings generated.
    
    This removal eliminates the redundant functions, ensuring a cleaner
    codebase and resolving the compilation warnings.
    visitorckw committed Nov 11, 2023
    1 Configuration menu
    Copy the full SHA
    45bf7e2 View commit details
    Browse the repository at this point in the history