The NetBSD Project

CVS log for src/tests/lib/libm/t_ilogb.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / lib / libm

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 14 15:31:42 2024 UTC (8 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
t_ilogb: Nix spurious line break in ATF_CHECK_MSG.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 9 12:23:21 2024 UTC (8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +34 -36 lines
tests/lib/libm/t_ilogb: Expand and tidy.

1. Instead of calling out VAX by name, use #ifdef NAN and
   isinf(INFINITY).  (VAX defines INFINITY even though it's not an
   infinity, not sure if there's a better compile-time test.)

2. Verify ilogbl works on long double on all architectures, not just
   those with __HAVE_LONG_DOUBLE which means long double is _larger_
   than double.

Revision 1.7.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:09 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -3 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 14 21:57:25 2018 UTC (6 years, 7 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
for consistency, print the statement that is true in the error case.
also add missing closing paren

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 14 21:11:08 2018 UTC (6 years, 7 months ago) by maya
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -3 lines
Test for FE_INVALID in a way that works for powerpc too.

powerpc seems to return FE_INVALID | FE_VXSOFT rather than just FE_INVALID.
XXX need extra careful reading of standards

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:59 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +6 -3 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 13 19:23:40 2017 UTC (8 years ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -3 lines
PR/51837: Ngie Cooper: add limits.h for INT_MAX

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 14 03:04:19 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +127 -0 lines
Sync with HEAD

Revision 1.6.2.1
Fri Aug 26 08:01:55 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.6: +0 -127 lines
file t_ilogb.c was added on branch pgoyette-localcount on 2016-09-14 03:04:19 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Aug 26 08:01:55 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
forgot to protect an ilogbl

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Aug 24 10:04:53 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -8 lines
fix test; clearing the exception does not return the old exception bitmask.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 24 09:13:44 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -1 lines
fix long double

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Aug 23 10:03:44 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +12 -5 lines
portability fixes

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 22 10:36:20 2016 UTC (8 years, 4 months ago) by maya
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
Mistakes were made, compare correct values now.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Aug 22 08:49:33 2016 UTC (8 years, 4 months ago) by maya
Branches: MAIN
add failing test for PR lib/51427
ilogb(INFINITY)=-INT_MAX, it should be INT_MAX

while here, test raised exceptions, other values.

XXX some platforms don't have exceptions

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>