Changeset 980ad03 in mainline
- Timestamp:
- 2018-07-05T21:41:22Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a629655
- Parents:
- 71cde76
- git-author:
- Dzejrou <dzejrou@…> (2018-05-03 17:49:12)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/limits.hpp
r71cde76 r980ad03 351 351 static constexpr bool is_specialized = true; 352 352 353 static constexpr int digits = sizeof(char) * 8; 354 353 355 static constexpr char max() 354 356 { … … 373 375 static constexpr bool is_specialized = true; 374 376 377 static constexpr int digits = sizeof(signed char) * 8 - 1; 378 375 379 static constexpr signed char max() 376 380 { … … 395 399 static constexpr bool is_specialized = true; 396 400 401 static constexpr int digits = sizeof(short) * 8 - 1; 402 397 403 static constexpr short max() 398 404 { … … 417 423 static constexpr bool is_specialized = true; 418 424 425 static constexpr int digits = sizeof(int) * 8 - 1; 426 419 427 static constexpr int max() 420 428 { … … 439 447 static constexpr bool is_specialized = true; 440 448 449 static constexpr int digits = sizeof(long) * 8 - 1; 450 441 451 static constexpr long max() 442 452 { … … 461 471 static constexpr bool is_specialized = true; 462 472 473 static constexpr int digits = sizeof(long long) * 8 - 1; 474 463 475 static constexpr long long max() 464 476 { … … 483 495 static constexpr bool is_specialized = true; 484 496 497 static constexpr int digits = sizeof(unsigned char) * 8; 498 485 499 static constexpr unsigned char max() 486 500 { … … 505 519 static constexpr bool is_specialized = true; 506 520 521 static constexpr int digits = sizeof(unsigned short) * 8; 522 507 523 static constexpr unsigned short max() 508 524 { … … 527 543 static constexpr bool is_specialized = true; 528 544 545 static constexpr int digits = sizeof(unsigned int) * 8; 546 529 547 static constexpr unsigned int max() 530 548 { … … 549 567 static constexpr bool is_specialized = true; 550 568 569 static constexpr int digits = sizeof(unsigned long) * 8; 570 551 571 static constexpr unsigned long max() 552 572 { … … 571 591 static constexpr bool is_specialized = true; 572 592 593 static constexpr int digits = sizeof(unsigned long long) * 8; 594 573 595 static constexpr unsigned long long max() 574 596 { … … 592 614 public: 593 615 // TODO: implement 616 static constexpr int digits = sizeof(short) * 8 - 1; 594 617 }; 595 618
Note:
See TracChangeset
for help on using the changeset viewer.