OpenGenus/cosmos

Adapt consistent format for functions

Open

#5 883 ouverte le 23 août 2020

Voir sur GitHub
 (3 commentaires) (2 réactions) (0 assignés)C++ (3 724 forks)batch import
Hacktoberfest

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:

I propose to adapt a consistent format for functions

 /* Description [What it does]
  *  - 
  * Arguments [The arguments and their type]
  *  - Arg_1 of type_n 
  *  - ...
  *  - - Arg_i of type_m
  * Return Value [What it returns and the type]
  *  -  ...
  *  
  */ 

This would give the code structure, prevent errors and achieve a specification to develop Hoare proofs for algorithms here.

Guide contributeur