Differences From Artifact [eb180f1d4b]:
- File
src/OFColor.m
— part of check-in
[69931b1982]
at
2024-03-27 23:33:31
on branch trunk
— OFColor: Use roundf instead of nearbyintf
This fixes DJGPP which doesn't have nearbyintf. (user: js, size: 5724) [annotate] [blame] [check-ins using]
To Artifact [d2e720bd5b]:
- File src/OFColor.m — part of check-in [7413a728a7] at 2024-04-03 02:16:03 on branch trunk — Change license to LGPLv3 only (user: js, size: 5932) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 | /* * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im> * * All rights reserved. * | | | | | > > > > | < > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /* * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im> * * All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 3.0 only, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * version 3.0 for more details. * * You should have received a copy of the GNU Lesser General Public License * version 3.0 along with this program. If not, see * <https://www.gnu.org/licenses/>. */ #include "config.h" #include <math.h> #import "OFColor.h" |
︙ | ︙ |