comparison scripts/strings/dec2bin.m @ 27923:bd51beb6205e

update formatting of copyright notices * Use <https://octave.org/copyright/> instead of <https://octave.org/COPYRIGHT.html/>. * For consistency with other comments in the Octave sources, use C++-style comments for copyright blocks in C and C++ files. * Use delimiters above and below copyright blocks that are appropriate for the language used in the file. * Eliminate extra spacing inside copyright blocks. * lex.ll (looks_like_copyright): Also allow newlines and carriage returns before the word "Copyright". * scripts/mk-doc.pl (gethelp): Also skip empty comment lines. * bp-table.cc, type.m: Adjust tests.
author John W. Eaton <jwe@octave.org>
date Wed, 08 Jan 2020 11:59:41 -0500
parents 1891570abac8
children 7f1cec12c240
comparison
equal deleted inserted replaced
27922:a7c8d2d72120 27923:bd51beb6205e
1 ########################################################################
2 ##
1 ## Copyright (C) 1996-2020 The Octave Project Developers 3 ## Copyright (C) 1996-2020 The Octave Project Developers
2 ## 4 ##
3 ## See the file COPYRIGHT.md in the top-level directory of this distribution 5 ## See the file COPYRIGHT.md in the top-level directory of this
4 ## or <https://octave.org/COPYRIGHT.html/>. 6 ## distribution or <https://octave.org/copyright/>.
5 ##
6 ## 7 ##
7 ## This file is part of Octave. 8 ## This file is part of Octave.
8 ## 9 ##
9 ## Octave is free software: you can redistribute it and/or modify it 10 ## Octave is free software: you can redistribute it and/or modify it
10 ## under the terms of the GNU General Public License as published by 11 ## under the terms of the GNU General Public License as published by
17 ## GNU General Public License for more details. 18 ## GNU General Public License for more details.
18 ## 19 ##
19 ## You should have received a copy of the GNU General Public License 20 ## You should have received a copy of the GNU General Public License
20 ## along with Octave; see the file COPYING. If not, see 21 ## along with Octave; see the file COPYING. If not, see
21 ## <https://www.gnu.org/licenses/>. 22 ## <https://www.gnu.org/licenses/>.
23 ##
24 ########################################################################
22 25
23 ## -*- texinfo -*- 26 ## -*- texinfo -*-
24 ## @deftypefn {} {} dec2bin (@var{d}, @var{len}) 27 ## @deftypefn {} {} dec2bin (@var{d}, @var{len})
25 ## Return a binary number corresponding to the non-negative integer @var{d}, 28 ## Return a binary number corresponding to the non-negative integer @var{d},
26 ## as a string of ones and zeros. 29 ## as a string of ones and zeros.