Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Rawk
/
cppcheck
Public
forked from
cppcheck-opensource/cppcheck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
mathlib.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 24, 2013
Reverted 'simplify NOT' since there are problems related to signedness of numeric values.
danmar
committed
c3d1274
View commit details
Copy full SHA for c3d1274
View code at this point
Browse repository at this point
Commits on Apr 11, 2013
fixed #4726: simplify bitwise Not (~ %num%)
orbitcowboy
committed
33cfc1a
View commit details
Copy full SHA for 33cfc1a
View code at this point
Browse repository at this point
Commits on Jan 16, 2013
Fix compiler warnings and comment/string typos
Show description for 4a73c93
Andrew C. Martin
committed
4a73c93
View commit details
Copy full SHA for 4a73c93
View code at this point
Browse repository at this point
Commits on Jan 1, 2013
Updating year 2012 -> 2013 to .cpp and .h files and man page.
aggro80
committed
5d5f708
View commit details
Copy full SHA for 5d5f708
View code at this point
Browse repository at this point
Commits on Dec 27, 2012
Support for Sun Studio C++ compiler
acm4me
authored and
PKEuS
committed
7da155c
View commit details
Copy full SHA for 7da155c
View code at this point
Browse repository at this point
Commits on Nov 27, 2012
Fixed #4295 (False positive: Expression '(X & 0xFF00000000000000LL)==0xa00000000000000' always evaluates to false (64-bit value))
danmar
committed
4e92f8d
View commit details
Copy full SHA for 4e92f8d
View code at this point
Browse repository at this point
Commits on Sep 11, 2012
Fixed #4087 (div by zero check is invalid for floats)
danmar
committed
64faa78
View commit details
Copy full SHA for 64faa78
View code at this point
Browse repository at this point
Support 0B... syntax for binary numbers.
PKEuS
committed
77b5175
View commit details
Copy full SHA for 77b5175
View code at this point
Browse repository at this point
Commits on Sep 10, 2012
Implemented support for binary numbers (#4113)
PKEuS
committed
95f4bb3
View commit details
Copy full SHA for 95f4bb3
View code at this point
Browse repository at this point
Commits on Sep 6, 2012
Throw an InternalError when trying to divide (or modulo) by zero in MathLib.
PKEuS
committed
0c812c5
View commit details
Copy full SHA for 0c812c5
View code at this point
Browse repository at this point
Commits on Sep 5, 2012
Revert "Fixed #4087" which was committed by accident.
Show description for f969530
PKEuS
committed
f969530
View commit details
Copy full SHA for f969530
View code at this point
Browse repository at this point
Commits on Sep 4, 2012
Fixed #4087
PKEuS
committed
0bbef8d
View commit details
Copy full SHA for 0bbef8d
View code at this point
Browse repository at this point
Commits on Sep 2, 2012
Fixed #4087
deepgupta
authored and
PKEuS
committed
24659de
View commit details
Copy full SHA for 24659de
View code at this point
Browse repository at this point
Commits on Aug 22, 2012
Fixed #4068 (Endless loop inside MathLib::add())
danmar
committed
d24badb
View commit details
Copy full SHA for d24badb
View code at this point
Browse repository at this point
Commits on Aug 14, 2012
Fixed #4016 (false positive: incorrectLogicOperator)
danmar
committed
1601baa
View commit details
Copy full SHA for 1601baa
View code at this point
Browse repository at this point
Commits on May 16, 2012
Fixed #3747 (False 'boolean result in bitwise' message with 'mask' enums)
danmar
committed
0bb0fde
View commit details
Copy full SHA for 0bb0fde
View code at this point
Browse repository at this point
Fixed: mathlib.cpp(258): warning C4702: unreachable code.
edward-san
committed
5732563
View commit details
Copy full SHA for 5732563
View code at this point
Browse repository at this point
Commits on Apr 12, 2012
fixed ticket 3693. Added modulus operator to Mathlib + unittests. Added a test to checkother to ensure the testcase of ticket 3693 does not trigger an error message.
orbitcowboy
committed
7be01da
View commit details
Copy full SHA for 7be01da
View code at this point
Browse repository at this point
Commits on Feb 17, 2012
Refactorizations in MathLib.
Show description for 485e836
PKEuS
committed
485e836
View commit details
Copy full SHA for 485e836
View code at this point
Browse repository at this point
- Improved support for numbers in code:
Show description for 8ea5df6
PKEuS
committed
8ea5df6
View commit details
Copy full SHA for 8ea5df6
View code at this point
Browse repository at this point
Commits on Jan 8, 2012
Add InternalError and change MathLib to throw it in case of an error.
Show description for 1943270
aggro80
committed
1943270
View commit details
Copy full SHA for 1943270
View code at this point
Browse repository at this point
Commits on Dec 31, 2011
Update year to 2012
aggro80
committed
8cae17f
View commit details
Copy full SHA for 8cae17f
View code at this point
Browse repository at this point
Commits on Dec 23, 2011
Remove unnecessary includes
Show description for dca03c3
PKEuS
authored and
aggro80
committed
dca03c3
View commit details
Copy full SHA for dca03c3
View code at this point
Browse repository at this point
Commits on Dec 8, 2011
Various code cleanups
PKEuS
authored and
Daniel Marjamäki
committed
167a7e3
View commit details
Copy full SHA for 167a7e3
View code at this point
Browse repository at this point
Commits on Nov 8, 2011
Remove duplicate expressions on both sides of ||
richq
committed
d5c7c5d
View commit details
Copy full SHA for d5c7c5d
View code at this point
Browse repository at this point
Commits on Oct 18, 2011
Fixed ticket #3229 (Segfault with goto):
Show description for f4cdf57
edward-san
committed
f4cdf57
View commit details
Copy full SHA for f4cdf57
View code at this point
Browse repository at this point
Commits on Oct 13, 2011
changed the astyle formatting flags
Daniel Marjamäki
committed
6f8e42a
View commit details
Copy full SHA for 6f8e42a
View code at this point
Browse repository at this point
Commits on Jul 29, 2011
mathlib: fixed #2950: comparison of floating point values
Ettl Martin
committed
f441a95
View commit details
Copy full SHA for f441a95
View code at this point
Browse repository at this point
Commits on Jul 24, 2011
Fix GCC warning about float comparison. Ticket: #2936
simartin
authored and
Daniel Marjamäki
committed
7346d07
View commit details
Copy full SHA for 7346d07
View code at this point
Browse repository at this point
Commits on Jul 17, 2011
fix #2827 to use numeric comparisons
IOBYTE
committed
4149617
View commit details
Copy full SHA for 4149617
View code at this point
Browse repository at this point
Commits on Jan 9, 2011
Change year 2010 -> 2011 in license texts.
aggro80
committed
226b605
View commit details
Copy full SHA for 226b605
View code at this point
Browse repository at this point
Commits on Nov 21, 2010
gcc: fixed compiler warnings
Daniel Marjamäki
committed
ee33359
View commit details
Copy full SHA for ee33359
View code at this point
Browse repository at this point
Commits on Nov 20, 2010
Fixed #2200 (MathLib: Calculation overflow)
Daniel Marjamäki
committed
e8ca76e
View commit details
Copy full SHA for e8ca76e
View code at this point
Browse repository at this point
Commits on Aug 6, 2010
gcc: fixed some more -Wsign-conversion warnings
Daniel Marjamäki
committed
1221746
View commit details
Copy full SHA for 1221746
View code at this point
Browse repository at this point
gcc: Fixed some compiler warnings when using -Wsign-conversion. Ticket: #1487
Daniel Marjamäki
committed
271a74a
View commit details
Copy full SHA for 271a74a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.